Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3380352
D3614.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
D3614.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 10:59 PM (21 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595120
Default Alt Text
D3614.diff (1 KB)
Attached To
Mode
D3614: [web] [feat] [ENG-716] update copy on modal for design review
Attached
Detach File
Event Timeline
Log In to Comment