refactor(infra): move initEmptyPage (#4135)

This commit is contained in:
Alex Yang
2023-09-02 22:19:43 -07:00
committed by GitHub
parent c3cca85184
commit d0e8a1f0df
9 changed files with 26 additions and 22 deletions
@@ -1,7 +1,7 @@
import { toast } from '@affine/component';
import { initEmptyPage } from '@affine/env/blocksuite';
import { WorkspaceSubPath } from '@affine/env/workspace';
import { useBlockSuiteWorkspaceHelper } from '@toeverything/hooks/use-block-suite-workspace-helper';
import { initEmptyPage } from '@toeverything/infra/blocksuite';
import { useAtomValue, useSetAtom } from 'jotai';
import { useCallback } from 'react';