fix: clock hot reload

This commit is contained in:
David Ralph
2021-08-18 14:48:52 +01:00
parent fb15a1037b
commit a91d5843b9
5 changed files with 12 additions and 11 deletions

View File

@@ -58,7 +58,8 @@ export default class Clock extends PureComponent {
}
this.setState({
time: time
time: time,
ampm: ''
});
} else {
// 12 hour