We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e470a13 commit 984e001Copy full SHA for 984e001
src/components/EditorCanvas/Note.jsx
@@ -185,7 +185,7 @@ export default function Note({ data, onPointerDown }) {
185
textarea.style.height = textarea.scrollHeight + "px";
186
const newHeight = textarea.scrollHeight + 42;
187
updateNote(data.id, { height: newHeight });
188
- }, [data, updateNote]);
+ }, [data.id, updateNote]);
189
190
return (
191
<g
0 commit comments