diff --git a/src/components/views/messages/MImageReplyBody.js b/src/components/views/messages/MImageReplyBody.js index 5ace22a560..2ed7a637bd 100644 --- a/src/components/views/messages/MImageReplyBody.js +++ b/src/components/views/messages/MImageReplyBody.js @@ -15,10 +15,10 @@ limitations under the License. */ import React from "react"; -import {_td} from "../../../languageHandler"; +import { _td } from "../../../languageHandler"; import * as sdk from "../../../index"; import MImageBody from './MImageBody'; -import {presentableTextForFile} from "./MFileBody"; +import { presentableTextForFile } from "./MFileBody"; export default class MImageReplyBody extends MImageBody { onClick(ev) { diff --git a/src/components/views/rooms/ReplyTile.js b/src/components/views/rooms/ReplyTile.js index 336c5a721b..23dcdc21a3 100644 --- a/src/components/views/rooms/ReplyTile.js +++ b/src/components/views/rooms/ReplyTile.js @@ -23,10 +23,10 @@ import * as sdk from '../../../index'; import dis from '../../../dispatcher/dispatcher'; import SettingsStore from "../../../settings/SettingsStore"; -import {MatrixClient} from 'matrix-js-sdk'; +import { MatrixClient } from 'matrix-js-sdk'; -import {objectHasDiff} from '../../../utils/objects'; -import {getHandlerTile} from "./EventTile"; +import { objectHasDiff } from '../../../utils/objects'; +import { getHandlerTile } from "./EventTile"; class ReplyTile extends React.Component { static contextTypes = { @@ -112,7 +112,7 @@ class ReplyTile extends React.Component { // This shouldn't happen: the caller should check we support this type // before trying to instantiate us if (!tileHandler) { - const {mxEvent} = this.props; + const { mxEvent } = this.props; console.warn(`Event type not supported: type:${mxEvent.getType()} isState:${mxEvent.isState()}`); return
{ _t('This event could not be displayed') }