From 71b8959d3c12fca4d5cf88db5d2de215b22bb34a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 9 Mar 2021 09:36:17 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: J. Ryan Stinnett --- src/components/views/rooms/BasicMessageComposer.tsx | 2 +- src/components/views/rooms/ForwardMessage.js | 2 +- src/components/views/voip/DialPad.tsx | 2 +- src/components/views/voip/DialPadModal.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/rooms/BasicMessageComposer.tsx b/src/components/views/rooms/BasicMessageComposer.tsx index 829809ad49..5ab2b82a32 100644 --- a/src/components/views/rooms/BasicMessageComposer.tsx +++ b/src/components/views/rooms/BasicMessageComposer.tsx @@ -106,7 +106,7 @@ interface IState { completionIndex?: number; } -@replaceableComponent("views.rooms.BasixMessageEditor") +@replaceableComponent("views.rooms.BasicMessageEditor") export default class BasicMessageEditor extends React.Component { private editorRef = createRef(); private autocompleteRef = createRef(); diff --git a/src/components/views/rooms/ForwardMessage.js b/src/components/views/rooms/ForwardMessage.js index 222895ef04..dd894c0dcf 100644 --- a/src/components/views/rooms/ForwardMessage.js +++ b/src/components/views/rooms/ForwardMessage.js @@ -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, diff --git a/src/components/views/voip/DialPad.tsx b/src/components/views/voip/DialPad.tsx index 3598f511f5..68092fb0be 100644 --- a/src/components/views/voip/DialPad.tsx +++ b/src/components/views/voip/DialPad.tsx @@ -60,7 +60,7 @@ interface IProps { onDialPress?: (string) => void; } -@replaceableComponent("views.voip.Dialpad") +@replaceableComponent("views.voip.DialPad") export default class Dialpad extends React.PureComponent { render() { const buttonNodes = []; diff --git a/src/components/views/voip/DialPadModal.tsx b/src/components/views/voip/DialPadModal.tsx index c085809d5a..cdd5bc6641 100644 --- a/src/components/views/voip/DialPadModal.tsx +++ b/src/components/views/voip/DialPadModal.tsx @@ -35,7 +35,7 @@ interface IState { value: string; } -@replaceableComponent("views.voip.DialpadModal") +@replaceableComponent("views.voip.DialPadModal") export default class DialpadModal extends React.PureComponent { constructor(props) { super(props);