You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-12-07 03:42:20 +03:00
Step 1: Remove all usage of @replaceableComponent
This commit is contained in:
@@ -19,7 +19,6 @@ import React from 'react';
|
||||
import { NumberSize, Resizable } from 're-resizable';
|
||||
import { Direction } from "re-resizable/lib/resizer";
|
||||
|
||||
import { replaceableComponent } from "../../utils/replaceableComponent";
|
||||
import ResizeNotifier from "../../utils/ResizeNotifier";
|
||||
|
||||
interface IProps {
|
||||
@@ -28,7 +27,6 @@ interface IProps {
|
||||
panel?: JSX.Element;
|
||||
}
|
||||
|
||||
@replaceableComponent("structures.MainSplit")
|
||||
export default class MainSplit extends React.Component<IProps> {
|
||||
private onResizeStart = (): void => {
|
||||
this.props.resizeNotifier.startResizing();
|
||||
|
||||
Reference in New Issue
Block a user