diff --git a/src/components/views/elements/EditableTextContainer.tsx b/src/components/views/elements/EditableTextContainer.tsx index 9610b188fb..b4689b90db 100644 --- a/src/components/views/elements/EditableTextContainer.tsx +++ b/src/components/views/elements/EditableTextContainer.tsx @@ -57,7 +57,7 @@ interface IState { */ @replaceableComponent("views.elements.EditableTextContainer") export default class EditableTextContainer extends React.Component { - private _unmounted = false; + private unmounted = false; public static defaultProps: Partial = { initialValue: "", placeholder: "", @@ -82,13 +82,13 @@ export default class EditableTextContainer extends React.Component { @@ -112,14 +112,14 @@ export default class EditableTextContainer extends React.Component { - if (this._unmounted) { return; } + if (this.unmounted) { return; } this.setState({ busy: false, value: value, }); }, (error) => { - if (this._unmounted) { return; } + if (this.unmounted) { return; } this.setState({ errorString: error.toString(), busy: false,