From 078d06a2fbbb6984359884ba48edeaf09c13e6dd Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Tue, 6 Oct 2020 14:38:00 +0100 Subject: Add new callback route --- 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 3af6676..19ba6a6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -12,12 +12,14 @@ import { CSSTransition, TransitionGroup } from "react-transition-group"; import LandingPage from "./pages/LandingPage"; import FormPage from "./pages/FormPage"; +import CallbackPage from "./pages/CallbackPage"; import globalStyles from "./globalStyles"; const routes = [ { path: "/", Component: LandingPage }, - { path: "/form/:id", Component: FormPage} + { path: "/form/:id", Component: FormPage}, + { path: "/callback", Component: CallbackPage } ] function App() { -- cgit v1.2.3