Page MenuHomePhabricator

D3625.diff
No OneTemporary

D3625.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,7 +14,7 @@
+onConfirm: () => void,
};
function ConfirmLeaveThreadModal(props: Props): React.Node {
- const { threadInfo, onClose, onConfirm } = props;
+ const { onClose, onConfirm, threadInfo } = props;
const { uiName } = threadInfo;
return (
@@ -22,7 +22,7 @@
<div className={css.container}>
<p>
{'Are you sure you want to leave "'}
- <span className={css['thread-name']}>{uiName}</span>
+ {uiName}
{'"?'}
</p>
<div className={css.buttonContainer}>
@@ -30,7 +30,7 @@
Cancel
</Button>
<Button variant="danger" onClick={onConfirm} type="submit">
- Yes, leave Thread
+ Leave Thread
</Button>
</div>
</div>

File Metadata

Mime Type
text/plain
Expires
Mon, Oct 7, 7:27 AM (22 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252762
Default Alt Text
D3625.diff (1 KB)

Event Timeline