Skip to content

Commit 984e001

Browse files
Red-Hide1ilit
andauthored
Update src/components/EditorCanvas/Note.jsx
Co-authored-by: 1ilit <[email protected]>
1 parent e470a13 commit 984e001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/EditorCanvas/Note.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default function Note({ data, onPointerDown }) {
185185
textarea.style.height = textarea.scrollHeight + "px";
186186
const newHeight = textarea.scrollHeight + 42;
187187
updateNote(data.id, { height: newHeight });
188-
}, [data, updateNote]);
188+
}, [data.id, updateNote]);
189189

190190
return (
191191
<g

0 commit comments

Comments
 (0)