mark some things as public

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-20 16:34:52 +01:00
parent ed0d9973b7
commit 06cc76f7d8
2 changed files with 12 additions and 12 deletions

View file

@ -134,7 +134,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
this.configureShouldShowPillAvatar);
}
componentDidUpdate(prevProps: IProps) {
public componentDidUpdate(prevProps: IProps) {
if (this.props.placeholder !== prevProps.placeholder && this.props.placeholder) {
const {isEmpty} = this.props.model;
if (isEmpty) {