mirror of
https://github.com/mue/mue.git
synced 2026-07-19 06:54:10 +02:00
Bug fixes
This commit is contained in:
@@ -65,8 +65,11 @@ export default class Clock extends React.PureComponent {
|
||||
}
|
||||
|
||||
render() {
|
||||
if (localStorage.getItem('time') === 'false') return null;
|
||||
|
||||
let clockHTML = <h1 className='clock'>{this.state.time}<span className='ampm'>{this.state.ampm}</span> </h1>;
|
||||
if (localStorage.getItem('analog') === 'true') clockHTML = <Analog className='analogclock' value={this.state.time} renderHourMarks={false} renderMinuteMarks={false} />;
|
||||
|
||||
return clockHTML;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user