diff --git a/apps/core/src/index.tsx b/apps/core/src/index.tsx index 741c8e61fd..32c239e13d 100644 --- a/apps/core/src/index.tsx +++ b/apps/core/src/index.tsx @@ -1,4 +1,5 @@ import { assertExists } from '@blocksuite/global/utils'; +import { StrictMode } from 'react'; import { createRoot } from 'react-dom/client'; async function main() { @@ -7,7 +8,11 @@ async function main() { const root = document.getElementById('app'); assertExists(root); - createRoot(root).render(); + createRoot(root).render( + + + + ); } await main();