Skip to content

Commit

Permalink
delete unused import and console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
GamerGirlandCo committed Nov 3, 2024
1 parent e131448 commit f1f0210
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/view-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
} from "@codemirror/view";
import { tagHighlighter, tags } from "@lezer/highlight";
import { javascript } from "@codemirror/lang-javascript";
import { basicSetup } from "codemirror";
import { EditorState } from "@codemirror/state";

/** Key for datacore JS query views. */
Expand Down Expand Up @@ -219,7 +218,6 @@ function CodeMirrorEditor({
}
}, [lang]);
useEffect(() => {
console.log("eref", editorRef.current);
if (editorRef.current)
viewRef.current = new EditorView({
parent: editorRef.current,
Expand Down

0 comments on commit f1f0210

Please sign in to comment.