Skip to content

Commit

Permalink
fix: Refetch case data every 30 secunds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Jan 25, 2024
1 parent fcdaaf3 commit 0d79363
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useFetchCases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const useFetchCases = () => {
modelId as string,
),
enabled: !!token,
refetchInterval: 30000,
});

return query;
Expand Down

0 comments on commit 0d79363

Please sign in to comment.