mirror of
https://github.com/docmost/docmost.git
synced 2026-05-18 23:44:24 +08: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