mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
fix(core): fix ui flashing (#7056)
This commit is contained in:
@@ -4,7 +4,7 @@ import '@affine/component/theme/theme.css';
|
||||
import { NotificationCenter } from '@affine/component';
|
||||
import { AffineContext } from '@affine/component/context';
|
||||
import { GlobalLoading } from '@affine/component/global-loading';
|
||||
import { WorkspaceFallback } from '@affine/core/components/workspace';
|
||||
import { AppFallback } from '@affine/core/components/affine/app-container';
|
||||
import { configureCommonModules, configureImpls } from '@affine/core/modules';
|
||||
import {
|
||||
configureBrowserWorkspaceFlavours,
|
||||
@@ -97,7 +97,7 @@ export function App() {
|
||||
<GlobalLoading />
|
||||
<NotificationCenter />
|
||||
<RouterProvider
|
||||
fallbackElement={<WorkspaceFallback key="RouterFallback" />}
|
||||
fallbackElement={<AppFallback key="RouterFallback" />}
|
||||
router={router}
|
||||
future={future}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user