From a3bb166d70bda7a0cbf31bcb48f395055149f13e Mon Sep 17 00:00:00 2001 From: ACoolName Date: Sun, 2 Jun 2024 21:49:06 +0300 Subject: [PATCH] test --- src/common.tsx | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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 (<>