fix(core): avoid side effects (#8245)

This commit is contained in:
forehalo
2024-09-18 03:45:20 +00:00
parent 22e1f9c66b
commit 315c20f8e5
49 changed files with 169 additions and 148 deletions
-3
View File
@@ -1,6 +1,3 @@
import '@affine/component/theme/global.css';
import '@affine/component/theme/theme.css';
import { AffineContext } from '@affine/component/context';
import { GlobalLoading } from '@affine/component/global-loading';
import { AppFallback } from '@affine/core/components/affine/app-container';
+3 -2
View File
@@ -1,4 +1,5 @@
import { setupBlocksuite, setupBrowser } from '@affine/core/bootstrap';
import '@affine/component/theme';
import { setupBrowser } from '@affine/core/bootstrap';
await setupBrowser();
setupBlocksuite();