Lint
This is why we shouldn't rely on regex
This commit is contained in:
parent
5a0fdb36c0
commit
bc5fc57dd6
3 changed files with 14 additions and 5 deletions
|
@ -173,7 +173,11 @@ export default class MessagePanel extends React.Component {
|
|||
SettingsStore.watchSetting("showTypingNotifications", null, this.onShowTypingNotificationsChange);
|
||||
|
||||
this._layoutWatcherRef = SettingsStore.watchSetting("feature_irc_ui", null, this.onLayoutChange);
|
||||
this._displayAvatarsWatcherRef = SettingsStore.watchSetting("feature_no_timeline_avatars", null, this.onDisplayAvatarsChange);
|
||||
this._displayAvatarsWatcherRef = SettingsStore.watchSetting(
|
||||
"feature_no_timeline_avatars",
|
||||
null,
|
||||
this.onDisplayAvatarsChange,
|
||||
);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
|
|
@ -184,8 +184,13 @@ export default class ReplyThread extends React.Component {
|
|||
if (!ReplyThread.getParentEventId(parentEv)) {
|
||||
return <div className="mx_ReplyThread_wrapper_empty" />;
|
||||
}
|
||||
return <ReplyThread parentEv={parentEv} onHeightChanged={onHeightChanged}
|
||||
ref={ref} permalinkCreator={permalinkCreator} useIRCLayout={useIRCLayout} displayAvatars={displayAvatars} />;
|
||||
return <ReplyThread
|
||||
parentEv={parentEv}
|
||||
onHeightChanged={onHeightChanged}
|
||||
ref={ref}
|
||||
permalinkCreator={permalinkCreator}
|
||||
useIRCLayout={useIRCLayout}
|
||||
displayAvatars={displayAvatars} />;
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue