Skip to content

Commit

Permalink
feat: disable auto refresh on UI.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016x committed Apr 30, 2024
1 parent ac9baf3 commit 6401384
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ export function useRefreshHomeBalanceView(options: {
[refreshBalance, refreshCurve]
);

useInterval(async () => {
const expiration = await isExpired();
onRefresh(expiration);
}, BALANCE_LOADING_TIMES.CHECK_INTERVAL);
// useInterval(async () => {
// const expiration = await isExpired();
// onRefresh(expiration);
// }, BALANCE_LOADING_TIMES.CHECK_INTERVAL);

return {
onRefresh,
Expand Down

0 comments on commit 6401384

Please sign in to comment.