fix: Show spinner while loading library components (#1331)

This commit is contained in:
Jillian
2024-10-04 13:32:32 +09:30
committed by GitHub
parent 652af9f6a5
commit 9c1fd5a68c
13 changed files with 139 additions and 18 deletions

View File

@@ -137,7 +137,7 @@ export const useContentSearchResults = ({
blockTypes: pages?.[0]?.blockTypes ?? {},
problemTypes: pages?.[0]?.problemTypes ?? {},
status: query.status,
isFetching: query.isFetching,
isLoading: query.isLoading,
isError: query.isError,
isFetchingNextPage: query.isFetchingNextPage,
// Call this to load more pages. We include some "safety" features recommended by the docs: this should never be