import Component from '../../common/Component'; import listItems from '../../common/helpers/listItems'; import Button from '../../common/components/Button'; import Link from '../../common/components/Link'; import LoadingIndicator from '../../common/components/LoadingIndicator'; import Discussion from '../../common/models/Discussion'; /** * The `NotificationList` component displays a list of the logged-in user's * notifications, grouped by discussion. */ export default class NotificationList extends Component { view() { const state = this.attrs.state; const pages = state.getNotificationPages(); return (