Skip to content

Commit 340fa5a

Browse files
Update web/components/templates/hql/hooks/useQueryExecution.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 4776b70 commit 340fa5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/components/templates/hql/hooks/useQueryExecution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function useQueryExecution() {
2222
const [queryError, setQueryError] = useState<string | null>(null);
2323

2424
const { mutate: handleExecuteQuery, mutateAsync: handleExecuteQueryAsync } =
25-
useMutation<any, Error, string>(
25+
useMutation<components["schemas"]["ExecuteSqlResponse"], Error, string>(
2626
createExecuteQueryMutation(setResult, setQueryError, setQueryLoading)
2727
);
2828

0 commit comments

Comments
 (0)