mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
Reinstate SQL editor results events (#33736)
* Reinstate SQL editor results events * remove random console.log * fix event name --------- Co-authored-by: Alaister Young <a@alaisteryoung.com>
This commit is contained in:
1 parent
64bfd6dc72
commit
ae2203b5e7
4 files changed
+28
-2
No files matched your search
@@ -43,7 +43,6 @@ export const useExecuteSqlMutation = ({
|
||||
// [Joshen] Default to false for now, only used for SQL editor to dynamically invalidate
|
||||
if (contextualInvalidation && projectRef) {
|
||||
const invalidationKeys = inferInvalidationKeys(projectRef, sql)
|
||||
console.log({ invalidationKeys })
|
||||
await Promise.all(invalidationKeys.map((key) => queryClient.invalidateQueries(key)))
|
||||
}
|
||||
await onSuccess?.(data, variables, context)
|
||||
|
||||
Reference in new issue
Block a user