diff --git a/web/modals/threads/thread-settings-modal.react.js b/web/modals/threads/thread-settings-modal.react.js --- a/web/modals/threads/thread-settings-modal.react.js +++ b/web/modals/threads/thread-settings-modal.react.js @@ -94,7 +94,6 @@ }; class ThreadSettingsModal extends React.PureComponent { nameInput: ?HTMLInputElement; - newThreadPasswordInput: ?HTMLInputElement; accountPasswordInput: ?HTMLInputElement; constructor(props: Props) { @@ -312,10 +311,6 @@ this.nameInput = nameInput; }; - newThreadPasswordInputRef = (newThreadPasswordInput: ?HTMLInputElement) => { - this.newThreadPasswordInput = newThreadPasswordInput; - }; - accountPasswordInputRef = (accountPasswordInput: ?HTMLInputElement) => { this.accountPasswordInput = accountPasswordInput; };