mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-19 19:11:35 +08:00
refactor: environment setup (#2898)
Co-authored-by: Simon He <57086651+Simon-He95@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { env } from '@affine/env';
|
||||
import { WorkspaceSubPath } from '@affine/env/workspace';
|
||||
import {
|
||||
rootCurrentWorkspaceIdAtom,
|
||||
@@ -69,7 +68,7 @@ export function CurrentWorkspaceModals() {
|
||||
}, [setOpenDisableCloudAlertModal])}
|
||||
/>
|
||||
</Suspense>
|
||||
{env.isDesktop && (
|
||||
{environment.isDesktop && (
|
||||
<Suspense>
|
||||
<OnboardingModal
|
||||
open={openOnboardingModal}
|
||||
|
||||
Reference in New Issue
Block a user