Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3514327
D4416.id14041.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4416.id14041.diff
View Options
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
@@ -23,7 +23,6 @@
import Button from '../../../components/button.react';
import LoadingIndicator from '../../../loading-indicator.react';
import Input from '../../input.react';
-import { useModalContext } from '../../modal-provider.react';
import ColorSelector from '../color-selector.react';
import css from './thread-settings-general-tab.css';
@@ -47,7 +46,6 @@
setErrorMessage,
} = props;
- const modalContext = useModalContext();
const dispatchActionPromise = useDispatchActionPromise();
const callChangeThreadSettings = useServerCall(changeThreadSettings);
@@ -108,7 +106,6 @@
threadID: threadInfo.id,
changes: queuedChanges,
});
- modalContext.popModal();
return response;
} catch (e) {
setErrorMessage('unknown_error');
@@ -117,7 +114,6 @@
}
}, [
callChangeThreadSettings,
- modalContext,
queuedChanges,
setErrorMessage,
setQueuedChanges,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 4:07 AM (18 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2693528
Default Alt Text
D4416.id14041.diff (1 KB)
Attached To
Mode
D4416: [web] Leave `ThreadSettingsGeneralTab` open after settings are saved
Attached
Detach File
Event Timeline
Log In to Comment