From f98513171b686de76371415da2fb05b90f10a60d Mon Sep 17 00:00:00 2001 From: Joshen Lim Date: Thu, 13 Aug 2026 17:40:18 +0700 Subject: [PATCH] Fix bug --- apps/studio/components/interfaces/Explorer/QueryEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/studio/components/interfaces/Explorer/QueryEditor.tsx b/apps/studio/components/interfaces/Explorer/QueryEditor.tsx index 874e9d4b87c..e4f63e7d76b 100644 --- a/apps/studio/components/interfaces/Explorer/QueryEditor.tsx +++ b/apps/studio/components/interfaces/Explorer/QueryEditor.tsx @@ -77,7 +77,7 @@ export const QueryEditor = ({ const handleRunQuery = (sqlToRun: string = sql) => { if (!project || isLoadingProject || isExecuting || sqlToRun.trim().length === 0) return - onSqlCommit?.(sqlToRun) + onSqlCommit?.(sql) const safeSql = acceptUntrustedSql(untrustedSql(sqlToRun)) const limitedSql = applyAutoLimit(safeSql, rowLimit)