refactor(core): replace WorkspaceSubPath in env package with the one in core package (#5537)

This commit is contained in:
JimmFly
2024-01-16 08:26:11 +00:00
parent 238d1ad44e
commit 4f4d057aad
16 changed files with 18 additions and 23 deletions

View File

@@ -3,7 +3,8 @@ import {
waitForCurrentWorkspaceAtom,
workspaceListAtom,
} from '@affine/core/modules/workspace';
import { WorkspaceFlavour, WorkspaceSubPath } from '@affine/env/workspace';
import { WorkspaceSubPath } from '@affine/core/shared';
import { WorkspaceFlavour } from '@affine/env/workspace';
import { assertExists } from '@blocksuite/global/utils';
import { useAtom, useAtomValue } from 'jotai';
import type { ReactElement } from 'react';