Skip to content

Commit

Permalink
⚡️ raise the polling interval for pricee chart data
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis committed May 8, 2022
1 parent 248c9b6 commit 013bfe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/api/use-property-price-chart-data.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ export default function usePriceData(filterOverrides = {}) {
}

if (loadingResults > 5) {
return loadingResults * 200;
return loadingResults * 400;
}

return 1000;
return 2000;
});
}, [loadingResults, error]);

Expand Down

0 comments on commit 013bfe0

Please sign in to comment.