Skip to content

Commit 2fb3967

Browse files
committed
fix lint
1 parent 4f62255 commit 2fb3967

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/src/unit/react/BlockNoteViewRapidRemount.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { BlockNoteEditor, BlockNoteSchema } from "@blocknote/core";
22
import { BlockNoteView } from "@blocknote/mantine";
33
import "@blocknote/mantine/style.css";
4-
import { createReactBlockSpec, useBlockNoteEditor } from "@blocknote/react";
4+
import { createReactBlockSpec } from "@blocknote/react";
55
import { StrictMode } from "react";
66
import { flushSync } from "react-dom";
77
import { createRoot } from "react-dom/client";
@@ -33,8 +33,6 @@ describe("BlockNoteView Rapid Remount", () => {
3333
},
3434
{
3535
render: (props) => {
36-
// This hook usage might affect timing/context
37-
useBlockNoteEditor();
3836
return (
3937
<div className={"alert"}>
4038
<div className={"inline-content"} ref={props.contentRef} />

0 commit comments

Comments
 (0)