mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
fix(core): hidden modals when workspace fallback (#6301)
This commit is contained in:
@@ -18,10 +18,7 @@ import { WorkspaceLayout } from '../../layouts/workspace-layout';
|
|||||||
import { RightSidebarContainer } from '../../modules/right-sidebar';
|
import { RightSidebarContainer } from '../../modules/right-sidebar';
|
||||||
import { WorkbenchRoot } from '../../modules/workbench';
|
import { WorkbenchRoot } from '../../modules/workbench';
|
||||||
import { CurrentWorkspaceService } from '../../modules/workspace/current-workspace';
|
import { CurrentWorkspaceService } from '../../modules/workspace/current-workspace';
|
||||||
import {
|
import { AllWorkspaceModals } from '../../providers/modal-provider';
|
||||||
AllWorkspaceModals,
|
|
||||||
CurrentWorkspaceModals,
|
|
||||||
} from '../../providers/modal-provider';
|
|
||||||
import { performanceRenderLogger } from '../../shared';
|
import { performanceRenderLogger } from '../../shared';
|
||||||
import { PageNotFound } from '../404';
|
import { PageNotFound } from '../404';
|
||||||
|
|
||||||
@@ -92,7 +89,6 @@ export const Component = (): ReactElement => {
|
|||||||
<ServiceProviderContext.Provider value={workspace.services}>
|
<ServiceProviderContext.Provider value={workspace.services}>
|
||||||
<WorkspaceFallback key="workspaceLoading" />
|
<WorkspaceFallback key="workspaceLoading" />
|
||||||
<AllWorkspaceModals />
|
<AllWorkspaceModals />
|
||||||
<CurrentWorkspaceModals />
|
|
||||||
</ServiceProviderContext.Provider>
|
</ServiceProviderContext.Provider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user