Page MenuHomePhabricator

D3614.diff
No OneTemporary

D3614.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, Oct 7, 6:30 AM (22 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252683
Default Alt Text
D3614.diff (1 KB)

Event Timeline