mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
refactor(editor): separate lit and slot in global (#10666)
This commit is contained in:
@@ -14,7 +14,7 @@ import { Bound } from '@blocksuite/affine/global/gfx';
|
||||
import {
|
||||
type Disposable,
|
||||
DisposableGroup,
|
||||
} from '@blocksuite/affine/global/utils';
|
||||
} from '@blocksuite/affine/global/slot';
|
||||
import {
|
||||
FrameworkScope,
|
||||
useLiveData,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { SpecProvider } from '@blocksuite/affine/blocks';
|
||||
import { Slot } from '@blocksuite/affine/global/utils';
|
||||
import { Slot } from '@blocksuite/affine/global/slot';
|
||||
import {
|
||||
AwarenessStore,
|
||||
type Doc,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Slot } from '@blocksuite/affine/global/utils';
|
||||
import { Slot } from '@blocksuite/affine/global/slot';
|
||||
import {
|
||||
createYProxy,
|
||||
type DocMeta,
|
||||
|
||||
@@ -2,7 +2,8 @@ import {
|
||||
BlockSuiteError,
|
||||
ErrorCode,
|
||||
} from '@blocksuite/affine/global/exceptions';
|
||||
import { NoopLogger, Slot } from '@blocksuite/affine/global/utils';
|
||||
import { Slot } from '@blocksuite/affine/global/slot';
|
||||
import { NoopLogger } from '@blocksuite/affine/global/utils';
|
||||
import {
|
||||
type CreateBlocksOptions,
|
||||
type Doc,
|
||||
|
||||
Reference in New Issue
Block a user