From f612efeff3c66095df7979a8fed091b93e6694af Mon Sep 17 00:00:00 2001 From: Terry Sutton Date: Wed, 21 Aug 2024 16:46:58 -0230 Subject: [PATCH] Fix ai debug --- .../components/interfaces/SQLEditor/SQLEditor.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx b/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx index 178c02b1dac..8e3fe722cd2 100644 --- a/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx +++ b/apps/studio/components/interfaces/SQLEditor/SQLEditor.tsx @@ -414,7 +414,15 @@ const SQLEditor = () => { ) } } - }, [debugSql, entityDefinitions, id, snap.results, snap.snippets]) + }, [ + debugSql, + entityDefinitions, + id, + snap.results, + snap.snippets, + snapV2.results, + snapV2.snippets, + ]) const acceptAiHandler = useCallback(async () => { try {