diff --git a/src/common.tsx b/src/common.tsx index ac3463b..0a90b52 100644 --- a/src/common.tsx +++ b/src/common.tsx @@ -267,12 +267,22 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string function createTerminal(websocket: string){ const NewWindow = window.open('', '', 'width=800 height=600')! - NewWindow.document.write('
') - - const root = ReactDOM.createRoot( - NewWindow.document.getElementById('root') as HTMLElement - ); - root.render() + NewWindow.document.write(` + + + + + + +
+ + + + `) } return (<>