mirror of
https://github.com/supabase/supabase.git
synced 2026-05-23 10:21:37 +08: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:
@@ -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