Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cifko committed Feb 14, 2024
1 parent 31fcf8d commit efee2d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions applications/tari_validator_node_web_ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@ export default function App() {
});
};
useEffect(() => {
const id = window.setInterval(() => {
refreshEpoch(epoch);
}, 2 * 60 * 1000);
const id = window.setInterval(() => refreshEpoch(epoch), 2 * 60 * 1000);
return () => {
window.clearInterval(id);
};
Expand Down

0 comments on commit efee2d3

Please sign in to comment.