replace concat on comment from review

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-04-27 11:31:04 +01:00
parent 3ba9f560d4
commit fdf63fd440
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -132,7 +132,7 @@ export default class ReplyThread extends React.Component {
} }
onQuoteClick() { onQuoteClick() {
const events = [this.state.loadedEv].concat(this.state.events); const events = [this.state.loadedEv, ...this.state.events];
this.setState({ this.setState({
loadedEv: null, loadedEv: null,