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 @@ -99,7 +99,6 @@ }; class ThreadSettingsModal extends React.PureComponent { nameInput: ?HTMLInputElement; - newThreadPasswordInput: ?HTMLInputElement; accountPasswordInput: ?HTMLInputElement; constructor(props: Props) { @@ -402,10 +401,6 @@ this.nameInput = nameInput; }; - newThreadPasswordInputRef = (newThreadPasswordInput: ?HTMLInputElement) => { - this.newThreadPasswordInput = newThreadPasswordInput; - }; - accountPasswordInputRef = (accountPasswordInput: ?HTMLInputElement) => { this.accountPasswordInput = accountPasswordInput; };