diff --git a/src/components/App.js b/src/components/App.js index 7f6ca2f..a7fdd43 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,5 +1,6 @@ import React, { useEffect } from "react"; import { HashRouter, Route, Switch, Redirect } from "react-router-dom"; +import ToastContainer from "./toast/ToastContainer"; // components import Layout from "./Layout/Layout"; @@ -34,6 +35,7 @@ export default function App() { + ); diff --git a/src/pages/notifications/Notifications.js b/src/pages/notifications/Notifications.js index f41157e..80ff429 100644 --- a/src/pages/notifications/Notifications.js +++ b/src/pages/notifications/Notifications.js @@ -1,7 +1,6 @@ import React, { useState } from "react"; import { Grid } from "@material-ui/core"; import { toast } from "react-toastify"; -import ToastContainer from "../../components/toast/ToastContainer"; import SyntaxHighlighter from "react-syntax-highlighter"; import { docco } from "react-syntax-highlighter/dist/esm/styles/hljs"; import classnames from "classnames"; @@ -36,7 +35,6 @@ export default function NotificationsPage(props) { <> -