Skip to content

Commit 37e5d0d

Browse files
committed
Fix reference
1 parent 023b0c9 commit 37e5d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FileEditor/TextEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const FileEditor = ({
5252
// const settings = React.useContext(OptionsContext);
5353

5454
const editorRef = useRef<any>(null);
55-
const monacoRef = useRef<Monaco>(null);
55+
const monacoRef = useRef<Monaco | null>(null);
5656

5757
const [fontSize, setFontSize] = useState(14);
5858

0 commit comments

Comments
 (0)