mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(core): allow core modules to import itself (#5207)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"./router": "./src/router.ts",
|
||||
"./bootstrap/setup": "./src/bootstrap/setup.ts",
|
||||
"./bootstrap/register-plugins": "./src/bootstrap/register-plugins.ts",
|
||||
"./components/pure/*": "./src/components/pure/*/index.tsx"
|
||||
"./*": "./src/*"
|
||||
},
|
||||
"dependencies": {
|
||||
"@affine-test/fixtures": "workspace:*",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { Avatar } from '@affine/component/ui/avatar';
|
||||
import { Tooltip } from '@affine/component/ui/tooltip';
|
||||
import { useCurrentSyncEngine } from '@affine/core/hooks/current/use-current-sync-engine';
|
||||
import { WorkspaceFlavour } from '@affine/env/workspace';
|
||||
import {
|
||||
type SyncEngineStatus,
|
||||
@@ -24,7 +25,6 @@ import {
|
||||
useState,
|
||||
} from 'react';
|
||||
|
||||
import { useCurrentSyncEngine } from '../../../../hooks/current/use-current-sync-engine';
|
||||
import { useSystemOnline } from '../../../../hooks/use-system-online';
|
||||
import type { AllWorkspace } from '../../../../shared';
|
||||
import { Loading } from './loading-icon';
|
||||
|
||||
Reference in New Issue
Block a user