1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

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

View File

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