mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
style: restrict type import (#1589)
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user