More appeasing of the linter
This commit is contained in:
parent
8e405dda2e
commit
c5cf04f6d2
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: [REACT-WARNING] Move into better lifecycle position
|
// TODO: [REACT-WARNING] Move into better lifecycle position
|
||||||
UNSAFE_componentWillUpdate(prevProps) {
|
UNSAFE_componentWillUpdate(prevProps) { // eslint-disable-line camelcase
|
||||||
if (this.props.placeholder !== prevProps.placeholder && this.props.placeholder) {
|
if (this.props.placeholder !== prevProps.placeholder && this.props.placeholder) {
|
||||||
const {isEmpty} = this.props.model;
|
const {isEmpty} = this.props.model;
|
||||||
if (isEmpty) {
|
if (isEmpty) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue