chore: prohibit import package itself (#2612)

Co-authored-by: Whitewater <me@waterwater.moe>
This commit is contained in:
Himself65
2023-05-31 15:00:50 +08:00
committed by himself65
parent ab56d15f7b
commit 877b78b0a3
38 changed files with 138 additions and 98 deletions
@@ -1,5 +1,3 @@
import { MenuItem, MuiClickAwayListener, PureMenu } from '@affine/component';
import type { EditorPlugin } from '@affine/component/block-suite-editor';
import type { SerializedBlock } from '@blocksuite/blocks';
import {
getCurrentBlockRange,
@@ -10,6 +8,9 @@ import type { Page } from '@blocksuite/store';
import { assertExists } from '@blocksuite/store';
import { useCallback, useEffect, useMemo, useState } from 'react';
import { MenuItem, MuiClickAwayListener, PureMenu } from '../../..';
import type { EditorPlugin } from '..';
type ShortcutMap = {
[key: string]: (e: KeyboardEvent, page: Page) => void;
};