mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 22:51:11 +10:00
Refetch space list on mount
This commit is contained in:
@ -38,6 +38,7 @@ export function useGetSpacesQuery(
|
||||
queryKey: ["spaces", params],
|
||||
queryFn: () => getSpaces(params),
|
||||
placeholderData: keepPreviousData,
|
||||
refetchOnMount: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user