Fix created at date for chat message

This commit is contained in:
Chris Blanchard 2015-09-22 22:56:31 +01:00
parent 38a312001f
commit 3ba7c4ecb8

View file

@ -111,8 +111,11 @@ var ChatMessage = React.createClass({
}
},
componentDidMount() {
componentWillMount() {
this.updateCreatedAt();
},
componentDidMount() {
this.interval = setInterval(this.updateCreatedAt, 60000);
},