Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-a-smith committed Jan 15, 2019
1 parent a548009 commit b5656fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Time/Time.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,7 @@ export class Time extends Component {
constructor(props) {
super(props);
const { time } = this.props;
if (time.hour !== '00') {
// do nothing
} else {
if (time.hour === '00') {
time.hour = this.props.format12Hours ? '12' : '00';
}
this.state = {
Expand Down

0 comments on commit b5656fa

Please sign in to comment.