From f7462371b1e955f269480d0b9c6956ed49c10125 Mon Sep 17 00:00:00 2001 From: YaoiFangirl420 <48789208+YaoiFangirl420@users.noreply.github.com> Date: Sat, 13 Apr 2019 01:44:36 -0700 Subject: [PATCH] Rename: Avatar -> ComposerAvatar To avoid confusion with other components that also might be named Avatar Signed-off-by: YaoiFangirl420 <48789208+YaoiFangirl420@users.noreply.github.com> --- src/components/views/rooms/MessageComposer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js index 51c7dbe710..5f9014db7a 100644 --- a/src/components/views/rooms/MessageComposer.js +++ b/src/components/views/rooms/MessageComposer.js @@ -42,14 +42,14 @@ const formatButtonList = [ _td("numbered-list"), ]; -function Avatar(props) { +function ComposerAvatar(props) { const MemberStatusMessageAvatar = sdk.getComponent('avatars.MemberStatusMessageAvatar'); return
; } -Avatar.propTypes = { +ComposerAvatar.propTypes = { me: PropTypes.object.isRequired, } @@ -393,7 +393,7 @@ export default class MessageComposer extends React.Component { render() { const controls = [ - this.state.me ? : null, + this.state.me ? : null, this.props.e2eStatus ? : null, ];