aboutsummaryrefslogtreecommitdiffstats
path: root/src/App.tsx
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-07-01 00:19:13 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-07-01 01:15:35 +0400
commita378b1c9ee096388002f3b0fdc26636e9c1cd57b (patch)
treed11d64dfc393cefecd2d2523f556b78dfba0701a /src/App.tsx
parentDisplay Test Names For Unittest Failures (diff)
Restructure FormPage
The main FormPage component had gotten very out of hand, with many moving parts that were hard to parse, understand, or modify. This refactors breaks things up into separate files with better defined goals. Most changes are just straight copies without much change, however some structural changes have been introduced as a foundation for improving the app. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'src/App.tsx')
-rw-r--r--src/App.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/App.tsx b/src/App.tsx
index 752a6c6..5430e40 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -12,7 +12,7 @@ import { CSSTransition, TransitionGroup } from "react-transition-group";
import globalStyles from "./globalStyles";
const LandingPage = React.lazy(() => import("./pages/LandingPage"));
-const FormPage = React.lazy(() => import("./pages/FormPage"));
+const FormPage = React.lazy(() => import("./pages/FormPage/FormPage"));
const CallbackPage = React.lazy(() => import("./pages/CallbackPage"));
const routes = [