hideNotificationsModal() {
    const notifications = this.props.notifications

    if (notifications.length) {
      this.props.markUserNotificationAsSeen(notifications)
    }
  }
/**
   * Mark user notifications as seen when modal is hidden.
   *
   * @return {void}
   */
Mark user notifications as seen when modal is hidden.
@return {void}
Mark user notifications as seen when modal is hidden . @return { void }
hideNotificationsModal() {
    const notifications = this.props.notifications
    if (notifications.length) {
      this.props.markUserNotificationAsSeen(notifications)
    }
  }
hideNotificationsModal ( ) { const notifications = this . props . notifications if ( notifications . length ) { this . props . markUserNotificationAsSeen ( notifications ) } }
Mark user notifications as seen when modal is hidden.
Mark user notifications as seen when modal is hidden .