style: restrict type import (#1589)

This commit is contained in:
Himself65
2023-03-15 11:58:43 -05:00
committed by GitHub
parent 6ab2f83e13
commit efcf1fcaa0
154 changed files with 332 additions and 307 deletions
@@ -1,4 +1,4 @@
import { Page } from '@blocksuite/store';
import type { Page } from '@blocksuite/store';
import { atom, useAtom, useAtomValue } from 'jotai';
import { currentPageIdAtom } from '../../atoms';
@@ -1,4 +1,4 @@
import { AccessTokenMessage } from '@affine/datacenter';
import type { AccessTokenMessage } from '@affine/datacenter';
import useSWR from 'swr';
import { QueryKey } from '../../plugins/affine/fetcher';
@@ -7,7 +7,7 @@ import {
currentWorkspaceIdAtom,
workspacesAtom,
} from '../../atoms';
import { RemWorkspace } from '../../shared';
import type { RemWorkspace } from '../../shared';
export const currentWorkspaceAtom = atom<Promise<RemWorkspace | null>>(
async get => {