Page MenuHomePhabricator

D4416.id14041.diff
No OneTemporary

D4416.id14041.diff

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

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)

Event Timeline