the strings are the same

This commit is contained in:
David Ralph 2019-10-06 10:37:57 +01:00 committed by GitHub
parent 13e5beadf6
commit 9414a35fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,7 @@ export default class Clock extends React.Component {
if (h > 12) h = h - 12;
if (h < 12) this.setState({ date: h + ':' + m, ampm: ampm });
else this.setState({ date: h + ':' + m, ampm: ampm });
this.setState({ date: h + ':' + m, ampm: ampm });
this.timeout = setTimeout(() => this.startTime(), 500);
}