From 9075a87c9d7dc71e1668e2b56171ec53baa66dba Mon Sep 17 00:00:00 2001 From: Caleb Date: Sun, 1 Oct 2017 21:01:37 -0600 Subject: [PATCH] Upgrade `react-notifications`. --- package.json | 2 +- src/components/UI/toast/Toast.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 81ac6807..8a22a0e0 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "react-transition-group": "^2.2.1", "react-waypoint": "^7.1.0", "redux": "^3.3.1", - "redux-notifications": "^2.1.1", + "redux-notifications": "^4.0.1", "redux-optimist": "^0.0.2", "redux-thunk": "^1.0.3", "rehype-parse": "^3.1.0", diff --git a/src/components/UI/toast/Toast.js b/src/components/UI/toast/Toast.js index 068ef48d..bb6034ff 100644 --- a/src/components/UI/toast/Toast.js +++ b/src/components/UI/toast/Toast.js @@ -1,6 +1,7 @@ import PropTypes from 'prop-types'; import React from 'react'; import { Icon } from '../index'; +import 'redux-notifications/lib/styles.css'; // Import default redux-notifications styles into global scope. import styles from './Toast.css'; const icons = {