Adds redux list add example

This commit is contained in:
forceoranj
2021-11-10 00:47:24 +01:00
parent 2616b109d7
commit 1ddb710a6c
19 changed files with 1809 additions and 1141 deletions

View File

@@ -1,12 +1,14 @@
import { Link } from "react-router-dom"
import { RouteConfig, renderRoutes } from "react-router-config"
import { Helmet } from "react-helmet"
import { ToastContainer } from "react-toastify"
import logo from "../static/logo.svg"
import config from "../config"
// Import your global styles here
import "normalize.css/normalize.css"
import styles from "./styles.module.scss"
import "react-toastify/dist/ReactToastify.css"
interface Route {
route: { routes: RouteConfig[] }
@@ -24,6 +26,7 @@ const App = ({ route }: Route): JSX.Element => (
<hr />
{/* Child routes won't render without this */}
{renderRoutes(route.routes)}
<ToastContainer />
</div>
)