This commit is contained in:
DiamondThree
2022-08-10 11:15:22 +08:00
parent 73d7d4e1a8
commit 32be658e96
@@ -189,7 +189,6 @@ export const CommandMenu = ({ editor, hooks, style }: CommandMenuProps) => {
}, },
[] []
); );
useEffect(() => { useEffect(() => {
const sub = hooks const sub = hooks
.get(HookType.ON_ROOT_NODE_KEYUP) .get(HookType.ON_ROOT_NODE_KEYUP)