chore: Bump React Query to v5 (#40174)

* Bump the deps, refactor deprecated code.

* Migrate keepPreviousData usage.

* Migrate all uses of InfiniteQuery.

* Fix refetchInterval in queries.

* Migrate all use of isLoading to isPending in mutations.

* Fix accessing location in claim-project.

* Fix a bug in duplicate query keys.

* Migrate all queries to use isPending.

* Revert "Fix accessing location in claim-project."

This reverts commit 2a07df64b5.

* Revert the rss.xml file to master.
This commit is contained in:
Ivan Vasilov
2025-12-10 11:10:29 +02:00
committed by GitHub
parent 3f885d0531
commit 0d5be306ef
307 changed files with 950 additions and 687 deletions

View File

@@ -29,7 +29,7 @@ export const WebhooksListTab = () => {
'triggers'
)
const { data: hooks, isLoading: isLoadingHooks } = useDatabaseHooksQuery({
const { data: hooks, isPending: isLoadingHooks } = useDatabaseHooksQuery({
projectRef: project?.ref,
connectionString: project?.connectionString,
})