mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Apply suggestions from code review
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
parent
5b3367d44e
commit
71b8959d3c
@ -106,7 +106,7 @@ interface IState {
|
||||
completionIndex?: number;
|
||||
}
|
||||
|
||||
@replaceableComponent("views.rooms.BasixMessageEditor")
|
||||
@replaceableComponent("views.rooms.BasicMessageEditor")
|
||||
export default class BasicMessageEditor extends React.Component<IProps, IState> {
|
||||
private editorRef = createRef<HTMLDivElement>();
|
||||
private autocompleteRef = createRef<Autocomplete>();
|
||||
|
@ -21,7 +21,7 @@ import { _t } from '../../../languageHandler';
|
||||
import {Key} from '../../../Keyboard';
|
||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
||||
|
||||
@replaceableComponent("views.rooms.FowardMessage")
|
||||
@replaceableComponent("views.rooms.ForwardMessage")
|
||||
export default class ForwardMessage extends React.Component {
|
||||
static propTypes = {
|
||||
onCancelClick: PropTypes.func.isRequired,
|
||||
|
@ -60,7 +60,7 @@ interface IProps {
|
||||
onDialPress?: (string) => void;
|
||||
}
|
||||
|
||||
@replaceableComponent("views.voip.Dialpad")
|
||||
@replaceableComponent("views.voip.DialPad")
|
||||
export default class Dialpad extends React.PureComponent<IProps> {
|
||||
render() {
|
||||
const buttonNodes = [];
|
||||
|
@ -35,7 +35,7 @@ interface IState {
|
||||
value: string;
|
||||
}
|
||||
|
||||
@replaceableComponent("views.voip.DialpadModal")
|
||||
@replaceableComponent("views.voip.DialPadModal")
|
||||
export default class DialpadModal extends React.PureComponent<IProps, IState> {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
Loading…
Reference in New Issue
Block a user