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

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

-