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

s/Quote/Reply/ and ES6 tweaks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2017-12-17 20:20:45 +00:00
parent 9baf71c4fc
commit 9603b21199
5 changed files with 30 additions and 36 deletions

View File

@ -209,7 +209,7 @@ module.exports = React.createClass({
const quoteContainer = document.createElement('span');
const quote =
<Quote url={href} parentEv={this.props.mxEvent} shouldShowPillAvatar={shouldShowPillAvatar} />;
<Quote url={href} parentEv={this.props.mxEvent} />;
ReactDOM.render(quote, quoteContainer);
node.parentNode.replaceChild(quoteContainer, node);