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 @@ -124,7 +124,7 @@ ); if (!permissionForDeleteTab && prevPermissionForDeleteTab) { - this.setTab('general'); + this.props.setCurrentTabType('general'); } } @@ -223,7 +223,7 @@ , @@ -244,7 +244,7 @@ , @@ -256,7 +256,7 @@ , @@ -281,10 +281,6 @@ ); } - setTab = (tabType: TabType) => { - this.props.setCurrentTabType(tabType); - }; - nameInputRef = (nameInput: ?HTMLInputElement) => { this.nameInput = nameInput; };