From e5c3ea7f20a7546abe9a898470bf6f196260737e Mon Sep 17 00:00:00 2001 From: Karolis Ramanauskas Date: Wed, 23 Oct 2024 17:40:37 +0300 Subject: [PATCH] Update packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/useQueryValidator.ts Co-authored-by: Kevin Ingersoll --- .../worlds/[worldAddress]/explore/useQueryValidator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/useQueryValidator.ts b/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/useQueryValidator.ts index b4a3fc2117..131246840b 100644 --- a/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/useQueryValidator.ts +++ b/packages/explorer/src/app/(explorer)/[chainName]/worlds/[worldAddress]/explore/useQueryValidator.ts @@ -10,7 +10,7 @@ import { useMonacoErrorMarker } from "./useMonacoErrorMarker"; const sqlParser = new Parser(); -function findErrorPosition(query: string, erroredQueryStr: string) { +function findErrorPosition(query: string, target: string) { const lines = query.split("\n"); let startLineNumber = 1; let startColumn = 1;