mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Fix showcase.
This commit is contained in:
parent
071ac1c383
commit
e9eee90870
@ -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'),
|
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user