From b1f05fa57c862ce8219e5ca464e794353261f842 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Sun, 21 Feb 2021 07:35:29 +0200 Subject: Migrate from public state map to Redux --- src/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/App.tsx') diff --git a/src/App.tsx b/src/App.tsx index 523e583..14e5329 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,7 @@ import React, { Suspense } from "react"; import { jsx, css, Global } from "@emotion/react"; +import { Provider } from "react-redux"; import { BrowserRouter as Router, Route, @@ -14,6 +15,7 @@ import { PropagateLoader } from "react-spinners"; import { CSSTransition, TransitionGroup } from "react-transition-group"; import globalStyles from "./globalStyles"; +import { store } from "./store/form/store"; const LandingPage = React.lazy(() => import("./pages/LandingPage")); const FormPage = React.lazy(() => import("./pages/FormPage")); @@ -51,7 +53,7 @@ function App(): JSX.Element { {routes.map(({path, Component}) => ( }> - + {path == "/form/:id" ? : } ))} -- cgit v1.2.3