diff --git a/src/components/Dashboard.jsx b/src/components/Dashboard.jsx index 1e758f2..091d969 100644 --- a/src/components/Dashboard.jsx +++ b/src/components/Dashboard.jsx @@ -23,7 +23,7 @@ class Dashboard extends React.Component { this.handleTagFilter = this.handleTagFilter.bind(this); this.updateTimerange = this.updateTimerange.bind(this); - this.eventsById = {}; + this.eventsById = {} } componentDidMount() { diff --git a/src/components/Notification.jsx b/src/components/Notification.jsx index 1bee1b9..df44225 100644 --- a/src/components/Notification.jsx +++ b/src/components/Notification.jsx @@ -28,12 +28,12 @@ export default class Notification extends React.Component{ } renderNotificationContent(notification) { - const { type, message, items } = notification; + let { type, message, items } = notification; return (
- {`${message}`} + {message}
{(items !== null) ? this.renderItems(items) : ''} @@ -48,7 +48,6 @@ export default class Notification extends React.Component{ return (
{this.props.notifications.map((notification) => { -console.log(notification) return (
this.toggleDetails() }>