Fix additional stupidity
This commit is contained in:
parent
96cf74af80
commit
73aef88855
|
@ -3,7 +3,7 @@ import formatDate from '../date';
|
||||||
|
|
||||||
export default class DateDisplay extends Component {
|
export default class DateDisplay extends Component {
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this._interval = setInterval(() => this.forceUpdate(), this.interval);
|
this._interval = setInterval(() => this.forceUpdate(), 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user