Skip to content

Commit

Permalink
Fetch balance on brave://rewards less frequently
Browse files Browse the repository at this point in the history
  • Loading branch information
szilardszaloki committed Sep 19, 2023
1 parent d081fd2 commit eae398f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function Settings () {
}, [rewardsData.initializing])

React.useEffect(() => {
const id = setInterval(() => { actions.getBalance() }, 60000)
const id = setInterval(() => { actions.getBalance() }, 180000)
return () => { clearInterval(id) }
}, [rewardsData.initializing])

Expand Down

0 comments on commit eae398f

Please sign in to comment.