Skip to content

Commit 61325c7

Browse files
authored
Merge pull request #1158 from cultuurnet/feature/III-6968
III-6968 - Fix ssr flashing of ownerships on organizers
2 parents 23094b0 + cc53bda commit 61325c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/api/ownerships.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ export const prefetchGetOwnershipRequestsQuery = ({
188188
req,
189189
queryClient,
190190
...createGetOwnershipRequestsQueryOptions(args),
191+
staleTime: 0, // always fetch fresh data on server
191192
});
192193

193194
type ApproveOwnershipArguments = { ownershipId: string };

0 commit comments

Comments
 (0)