mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor(editor): reorg code structure of store package (#9525)
This commit is contained in:
@@ -21,7 +21,6 @@ import { Container, type ServiceProvider } from '@blocksuite/affine/global/di';
|
||||
import { WithDisposable } from '@blocksuite/affine/global/utils';
|
||||
import {
|
||||
type Blocks,
|
||||
BlockViewType,
|
||||
type JobMiddleware,
|
||||
type Query,
|
||||
type Schema,
|
||||
@@ -186,7 +185,7 @@ export class TextRenderer extends WithDisposable(ShadowlessElement) {
|
||||
'affine:code',
|
||||
'affine:list',
|
||||
'affine:divider',
|
||||
].map(flavour => ({ flavour, viewType: BlockViewType.Display })),
|
||||
].map(flavour => ({ flavour, viewType: 'display' })),
|
||||
};
|
||||
|
||||
private _timer?: ReturnType<typeof setInterval> | null = null;
|
||||
|
||||
Reference in New Issue
Block a user