Burn sdk.getComponent

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-07-13 08:45:36 +02:00
parent 5f81cfe9d9
commit ae5e10ff0c
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 3 deletions

View File

@ -16,12 +16,12 @@ limitations under the License.
import React from 'react';
import dis from '../../../dispatcher/dispatcher';
import * as sdk from '../../../index';
import { _t } from '../../../languageHandler';
import RoomViewStore from '../../../stores/RoomViewStore';
import PropTypes from "prop-types";
import { RoomPermalinkCreator } from "../../../utils/permalinks/Permalinks";
import { replaceableComponent } from "../../../utils/replaceableComponent";
import ReplyTile from './ReplyTile';
function cancelQuoting() {
dis.dispatch({
@ -69,8 +69,6 @@ export default class ReplyPreview extends React.Component {
render() {
if (!this.state.event) return null;
const ReplyTile = sdk.getComponent('rooms.ReplyTile');
return <div className="mx_ReplyPreview">
<div className="mx_ReplyPreview_section">
<div className="mx_ReplyPreview_header mx_ReplyPreview_title">