Skip to content

Commit

Permalink
fix: date on topbar is updating correctly now (Renovamen#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Renovamen committed May 9, 2021
1 parent 89919dc commit 98c41be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/menus/TopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class TopBar extends Component {
// store intervalId in the state, so we can clear interval later
this.intervalId = setInterval(() => {
this.setState({
data: new Date()
date: new Date()
});
}, 60 * 1000);

Expand Down

0 comments on commit 98c41be

Please sign in to comment.