From 710026c8ac695da50e3fe204b874372fce24da23 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 2 Jun 2020 17:50:24 +0100 Subject: [PATCH] Fixed typo --- ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx b/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx index 62ca8a32f4..49c256b184 100644 --- a/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx +++ b/ElectronClient/gui/NoteEditor/NoteBody/AceEditor/AceEditor.tsx @@ -553,7 +553,7 @@ function AceEditor(props: NoteBodyEditorProps, ref: any) { } }, [props.searchMarkers, renderedBody]); - const { focused, onBlur, onFocus } = useFocus({ editor }); + const { focused, onBlur, onFocus } = useFocus(); const cellEditorStyle = useMemo(() => { const output = { ...styles.cellEditor };