mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-17 01:12:20 +00:00
Fix created at date for chat message
This commit is contained in:
parent
38a312001f
commit
3ba7c4ecb8
1 changed files with 4 additions and 1 deletions
|
@ -111,8 +111,11 @@ var ChatMessage = React.createClass({
|
|||
}
|
||||
},
|
||||
|
||||
componentDidMount() {
|
||||
componentWillMount() {
|
||||
this.updateCreatedAt();
|
||||
},
|
||||
|
||||
componentDidMount() {
|
||||
this.interval = setInterval(this.updateCreatedAt, 60000);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue