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,16 +14,22 @@ +onConfirm: () => void, }; function ConfirmLeaveThreadModal(props: Props): React.Node { + const { + threadInfo: { uiName }, + onClose, + onConfirm, + } = props; + return ( - +

{'Are you sure you want to leave "'} - {props.threadInfo.uiName} + {uiName} {'"?'}

-