mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 23:18:21 +00:00
Run eslint
This commit is contained in:
@@ -15,10 +15,10 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import {_td} from "../../../languageHandler";
|
import { _td } from "../../../languageHandler";
|
||||||
import * as sdk from "../../../index";
|
import * as sdk from "../../../index";
|
||||||
import MImageBody from './MImageBody';
|
import MImageBody from './MImageBody';
|
||||||
import {presentableTextForFile} from "./MFileBody";
|
import { presentableTextForFile } from "./MFileBody";
|
||||||
|
|
||||||
export default class MImageReplyBody extends MImageBody {
|
export default class MImageReplyBody extends MImageBody {
|
||||||
onClick(ev) {
|
onClick(ev) {
|
||||||
|
|||||||
@@ -23,10 +23,10 @@ import * as sdk from '../../../index';
|
|||||||
|
|
||||||
import dis from '../../../dispatcher/dispatcher';
|
import dis from '../../../dispatcher/dispatcher';
|
||||||
import SettingsStore from "../../../settings/SettingsStore";
|
import SettingsStore from "../../../settings/SettingsStore";
|
||||||
import {MatrixClient} from 'matrix-js-sdk';
|
import { MatrixClient } from 'matrix-js-sdk';
|
||||||
|
|
||||||
import {objectHasDiff} from '../../../utils/objects';
|
import { objectHasDiff } from '../../../utils/objects';
|
||||||
import {getHandlerTile} from "./EventTile";
|
import { getHandlerTile } from "./EventTile";
|
||||||
|
|
||||||
class ReplyTile extends React.Component {
|
class ReplyTile extends React.Component {
|
||||||
static contextTypes = {
|
static contextTypes = {
|
||||||
@@ -112,7 +112,7 @@ class ReplyTile extends React.Component {
|
|||||||
// This shouldn't happen: the caller should check we support this type
|
// This shouldn't happen: the caller should check we support this type
|
||||||
// before trying to instantiate us
|
// before trying to instantiate us
|
||||||
if (!tileHandler) {
|
if (!tileHandler) {
|
||||||
const {mxEvent} = this.props;
|
const { mxEvent } = this.props;
|
||||||
console.warn(`Event type not supported: type:${mxEvent.getType()} isState:${mxEvent.isState()}`);
|
console.warn(`Event type not supported: type:${mxEvent.getType()} isState:${mxEvent.isState()}`);
|
||||||
return <div className="mx_ReplyTile mx_ReplyTile_info mx_MNoticeBody">
|
return <div className="mx_ReplyTile mx_ReplyTile_info mx_MNoticeBody">
|
||||||
{ _t('This event could not be displayed') }
|
{ _t('This event could not be displayed') }
|
||||||
|
|||||||
Reference in New Issue
Block a user