mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
feat(component): support image preview by double click (#2198)
This commit is contained in:
@@ -26,6 +26,7 @@ const WorkspaceListModal = lazy(() =>
|
||||
default: module.WorkspaceListModal,
|
||||
}))
|
||||
);
|
||||
|
||||
const CreateWorkspaceModal = lazy(() =>
|
||||
import('../components/pure/create-workspace-modal').then(module => ({
|
||||
default: module.CreateWorkspaceModal,
|
||||
@@ -39,7 +40,8 @@ const TmpDisableAffineCloudModal = lazy(() =>
|
||||
})
|
||||
)
|
||||
);
|
||||
const OnboardingModalAtom = lazy(() =>
|
||||
|
||||
const OnboardingModal = lazy(() =>
|
||||
import('../components/pure/onboarding-modal').then(module => ({
|
||||
default: module.OnboardingModal,
|
||||
}))
|
||||
@@ -85,7 +87,7 @@ export function Modals() {
|
||||
</Suspense>
|
||||
{env.isDesktop && (
|
||||
<Suspense>
|
||||
<OnboardingModalAtom
|
||||
<OnboardingModal
|
||||
open={openOnboardingModal}
|
||||
onClose={onCloseOnboardingModal}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user