refactor: move non-affine hooks (#1857)

This commit is contained in:
Himself65
2023-04-09 17:15:07 -05:00
committed by GitHub
parent d9e42d6a0f
commit 401cad799e
18 changed files with 42 additions and 36 deletions

View File

@@ -8,9 +8,9 @@ import type { NextRouter } from 'next/router';
import type { Dispatch, FC, SetStateAction } from 'react';
import { useEffect } from 'react';
import { useRecentlyViewed } from '../../../hooks/affine/use-recent-views';
import { useBlockSuiteWorkspaceHelper } from '../../../hooks/use-blocksuite-workspace-helper';
import { usePageMeta } from '../../../hooks/use-page-meta';
import { useRecentlyViewed } from '../../../hooks/use-recent-views';
import { useRouterHelper } from '../../../hooks/use-router-helper';
import type { BlockSuiteWorkspace } from '../../../shared';
import { useSwitchToConfig } from './config';