From a3622979b8c324219468175bd8a5e254e0113a02 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Sun, 3 Jan 2021 10:45:43 +1100 Subject: [PATCH] Added more cases to note text update --- src/components/note/Note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/note/Note.js b/src/components/note/Note.js index d743dfa..43f8c80 100644 --- a/src/components/note/Note.js +++ b/src/components/note/Note.js @@ -120,7 +120,7 @@ function Note({ } findFontSize(); - }, [note, noteWidth, noteHeight, notePadding]); + }, [note, note.text, noteWidth, noteHeight, notePadding]); const textRef = useRef();