Page MenuHomePhabricator

D3614.id11082.diff
No OneTemporary

D3614.id11082.diff

diff --git a/web/modals/threads/confirm-leave-thread-modal.react.js b/web/modals/threads/confirm-leave-thread-modal.react.js
--- a/web/modals/threads/confirm-leave-thread-modal.react.js
+++ b/web/modals/threads/confirm-leave-thread-modal.react.js
@@ -14,20 +14,18 @@
+onConfirm: () => void,
};
function ConfirmLeaveThreadModal(props: Props): React.Node {
- const { threadInfo, onClose, onConfirm } = props;
- const { uiName } = threadInfo;
+ const { onClose, onConfirm } = props;
return (
- <Modal name="Confirm leave thread" onClose={onClose}>
+ <Modal name="Leaving channel" onClose={onClose}>
<div className={css['modal-body']}>
<p>
- {'Are you sure you want to leave "'}
- <span className={css['thread-name']}>{uiName}</span>
- {'"?'}
+ Are you sure you want to leave thread? This and this will happen if
+ you do so.
</p>
<div className={css['form-footer']}>
<Button onClick={onConfirm} type="submit">
- Leave Thread
+ Yes, leave Thread
</Button>
</div>
</div>

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 8:26 AM (21 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2579030
Default Alt Text
D3614.id11082.diff (1 KB)

Event Timeline