diff options
Diffstat (limited to 'web/react/components/confirm_modal.jsx')
-rw-r--r-- | web/react/components/confirm_modal.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/react/components/confirm_modal.jsx b/web/react/components/confirm_modal.jsx index 60069b2b1..bc3a0b814 100644 --- a/web/react/components/confirm_modal.jsx +++ b/web/react/components/confirm_modal.jsx @@ -11,9 +11,7 @@ export default class ConfirmModal extends React.Component { } handleConfirm() { - if (this.props.onConfirm) { - this.props.onConfirm(); - } + this.props.onConfirm(); } render() { |