Skip to content

Commit 0e7ad06

Browse files
committed
fix: reduce staleTime for subscription info query
1 parent 1f77f07 commit 0e7ad06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/api/hooks/users/users.query.hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const useGetSubscriptionInfoByShortUuid = createGetQueryHook({
8080
routeParamsSchema: GetSubscriptionInfoByShortUuidCommand.RequestSchema,
8181
getQueryKey: ({ route }) => usersQueryKeys.getSubscriptionInfoByShortUuid(route!).queryKey,
8282
rQueryParams: {
83-
staleTime: sToMs(40)
83+
staleTime: sToMs(4)
8484
},
8585
errorHandler: (error) => {
8686
notifications.show({

0 commit comments

Comments
 (0)