Fix showcase.

This commit is contained in:
Paulo Gustavo Veiga 2022-10-31 14:38:54 -07:00
parent 071ac1c383
commit e9eee90870

View File

@ -38,7 +38,7 @@ const options: EditorOptions = {
enableKeyboardEvents: true, enableKeyboardEvents: true,
}; };
const container = document.getElementById('app'); const container = document.getElementById('root');
const root = createRoot(container!); const root = createRoot(container!);
root.render( root.render(
<Editor <Editor
@ -48,5 +48,4 @@ root.render(
onAction={(action) => console.log('action called:', action)} onAction={(action) => console.log('action called:', action)}
onLoad={initialization} onLoad={initialization}
/>, />,
document.getElementById('root'),
); );