From 74189b21646fd7e4ab95fa6fa67767cf5ebf448f Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" <jryans@gmail.com> Date: Tue, 7 May 2019 16:05:56 +0100 Subject: [PATCH] Fix indentation in MessagePanel --- src/components/structures/MessagePanel.js | 36 +++++++++++++---------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index b57b659136..b0f6699bc1 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -511,22 +511,26 @@ module.exports = React.createClass({ readReceipts = this._getReadReceiptsForEvent(mxEv); } ret.push( - <li key={eventId} - ref={this._collectEventNode.bind(this, eventId)} - data-scroll-tokens={scrollToken}> - <EventTile mxEvent={mxEv} continuation={continuation} - isRedacted={mxEv.isRedacted()} - onHeightChanged={this._onHeightChanged} - readReceipts={readReceipts} - readReceiptMap={this._readReceiptMap} - showUrlPreview={this.props.showUrlPreview} - checkUnmounting={this._isUnmounting} - eventSendStatus={mxEv.status} - tileShape={this.props.tileShape} - isTwelveHour={this.props.isTwelveHour} - permalinkCreator={this.props.permalinkCreator} - last={last} isSelectedEvent={highlight} /> - </li>, + <li key={eventId} + ref={this._collectEventNode.bind(this, eventId)} + data-scroll-tokens={scrollToken} + > + <EventTile mxEvent={mxEv} + continuation={continuation} + isRedacted={mxEv.isRedacted()} + onHeightChanged={this._onHeightChanged} + readReceipts={readReceipts} + readReceiptMap={this._readReceiptMap} + showUrlPreview={this.props.showUrlPreview} + checkUnmounting={this._isUnmounting} + eventSendStatus={mxEv.status} + tileShape={this.props.tileShape} + isTwelveHour={this.props.isTwelveHour} + permalinkCreator={this.props.permalinkCreator} + last={last} + isSelectedEvent={highlight} + /> + </li>, ); return ret;