Skip to content

Commit

Permalink
chore(core): remove unused const (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbernalp committed Mar 8, 2023
1 parent 68abb98 commit f284a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const ReactCodeMirror = forwardRef<ReactCodeMirrorRef, ReactCodeMirrorProps>((pr
...other
} = props;
const editor = useRef<HTMLDivElement>(null);
const { state, view, container, setContainer } = useCodeMirror({
const { state, view, container } = useCodeMirror({
container: editor.current,
root,
value,
Expand Down

0 comments on commit f284a8d

Please sign in to comment.