diff --git a/web/modals/threads/settings/thread-settings-general-tab.react.js b/web/modals/threads/settings/thread-settings-general-tab.react.js --- a/web/modals/threads/settings/thread-settings-general-tab.react.js +++ b/web/modals/threads/settings/thread-settings-general-tab.react.js @@ -103,11 +103,10 @@ const changeThreadSettingsAction = React.useCallback(async () => { try { setErrorMessage(''); - const response = await callChangeThreadSettings({ + return await callChangeThreadSettings({ threadID: threadInfo.id, changes: queuedChanges, }); - return response; } catch (e) { setErrorMessage('unknown_error'); setQueuedChanges(Object.freeze({}));