replace concat on comment from review
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
3ba9f560d4
commit
fdf63fd440
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue