diff --git a/app/renderer/components/main/notificationItem.js b/app/renderer/components/main/notificationItem.js index 9ae45485d46..4d91cbe7db2 100644 --- a/app/renderer/components/main/notificationItem.js +++ b/app/renderer/components/main/notificationItem.js @@ -120,14 +120,15 @@ class NotificationItem extends React.Component { : null } { - this.props.buttons.map((button, i) => - - ) + this.props.buttons + ? this.props.buttons.map((button, i) => + ) + : null }