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 @@
{'Are you sure you want to leave "'} - {uiName} + {uiName} {'"?'}