diff --git a/src/common.tsx b/src/common.tsx index 0a7a0dc..b13b31f 100644 --- a/src/common.tsx +++ b/src/common.tsx @@ -272,7 +272,7 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string var terminal_root = terminalWindow.document.getElementById('terminal-root')! const root = ReactDOM.createRoot( - document.getElementById('root') as HTMLElement + terminalWindow.document.getElementById('root') as HTMLElement ); root.render(