You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-16 06:42:26 +03:00
More appeasing of the linter
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user