Skip to content

Commit 1a5b2c5

Browse files
committed
fix: unnecessary call to canNestBlock
1 parent fba961d commit 1a5b2c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/react/src/components/FormattingToolbar/mantine/DefaultButtons/NestBlockButtons.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export const NestBlockButton = () => {
2323
);
2424

2525
useEditorContentOrSelectionChange(() => {
26-
editor.canNestBlock();
2726
setCanNestBlock(editor.canNestBlock());
2827
}, editor);
2928

0 commit comments

Comments
 (0)