diff --git a/src/components/App.js b/src/components/App.js index a7fdd43..efb1554 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -1,6 +1,6 @@ import React, { useEffect } from "react"; import { HashRouter, Route, Switch, Redirect } from "react-router-dom"; -import ToastContainer from "./toast/ToastContainer"; +import ToastContainer from "./Toast/ToastContainer"; // components import Layout from "./Layout/Layout"; diff --git a/src/components/toast/ToastContainer.js b/src/components/toast/ToastContainer.js index 676db99..d6cc714 100644 --- a/src/components/toast/ToastContainer.js +++ b/src/components/toast/ToastContainer.js @@ -4,7 +4,7 @@ import { Close as CloseIcon } from "@material-ui/icons"; import useStyles from "./styles"; const ToastContainer = () => { - var classes = useStyles(); + const classes = useStyles(); return (