diff --git a/web/hooks/use-user-bets.ts b/web/hooks/use-user-bets.ts index b35d833d..72a4e5bf 100644 --- a/web/hooks/use-user-bets.ts +++ b/web/hooks/use-user-bets.ts @@ -13,7 +13,7 @@ export const useUserBets = (userId: string) => { { subscribe: true, includeMetadataChanges: true }, // Temporary workaround for react-query bug: // https://github.com/invertase/react-query-firebase/issues/25 - { cacheTime: 0 } + { refetchOnMount: 'always' } ) return result.data }