mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-08 12:45:55 +08:00
feat(core): add toggle workspace dialog (#5312)
This commit is contained in:
@@ -52,6 +52,13 @@ const OnboardingModal = lazy(() =>
|
||||
default: module.OnboardingModal,
|
||||
}))
|
||||
);
|
||||
const WorkspaceGuideModal = lazy(() =>
|
||||
import('../components/affine/onboarding/workspace-guide-modal').then(
|
||||
module => ({
|
||||
default: module.WorkspaceGuideModal,
|
||||
})
|
||||
)
|
||||
);
|
||||
|
||||
const SignOutModal = lazy(() =>
|
||||
import('../components/affine/sign-out-modal').then(module => ({
|
||||
@@ -160,6 +167,7 @@ export function CurrentWorkspaceModals() {
|
||||
<OnboardingModal />
|
||||
</Suspense>
|
||||
)}
|
||||
<WorkspaceGuideModal />
|
||||
{currentWorkspace && <Setting />}
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user