From 4411cd7ddc02ff32f54f300aa763a8643251f907 Mon Sep 17 00:00:00 2001 From: "Visal .In" Date: Thu, 12 Sep 2024 18:46:26 +0700 Subject: [PATCH] remove console.log --- src/components/gui/tabs/query-tab.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/gui/tabs/query-tab.tsx b/src/components/gui/tabs/query-tab.tsx index 2a48e586..ef1ae93c 100644 --- a/src/components/gui/tabs/query-tab.tsx +++ b/src/components/gui/tabs/query-tab.tsx @@ -96,7 +96,6 @@ export default function QueryWindow({ const editorState = editorRef.current?.view?.state; if (!editorState) return; - console.log(editorState); if (all) { finalStatements = splitSqlQuery(editorState).map((q) => q.text); @@ -104,8 +103,6 @@ export default function QueryWindow({ const segment = resolveToNearestStatement(editorState); if (!segment) return; - console.log(segment); - const statement = editorState.doc.sliceString(segment.from, segment.to); if (statement) {