diff options
author | 2024-09-11 17:51:11 +0100 | |
---|---|---|
committer | 2024-09-11 17:51:11 +0100 | |
commit | f184ac430871c10f1a6e121fffaf0acd03188cce (patch) | |
tree | 71228a704a052469ac7252fce7d8964c394962ea | |
parent | Add checkout page (diff) |
Add route for checkout page
-rw-r--r-- | thallium-frontend/src/App.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/thallium-frontend/src/App.tsx b/thallium-frontend/src/App.tsx index 9bd78e1..3a18181 100644 --- a/thallium-frontend/src/App.tsx +++ b/thallium-frontend/src/App.tsx @@ -14,6 +14,7 @@ const LandingPage = React.lazy(() => import("./pages/LandingPage")); const ErrorPage = React.lazy(() => import("./pages/ErrorPage")); const DesignSystem = React.lazy(() => import("./pages/DesignSystem")); const StorePage = React.lazy(() => import("./pages/StorePage")); +const CheckoutPage = React.lazy(() => import("./pages/CheckoutPage")); import { maybeRefreshTask } from "./api/jwt"; import { ToastContainer } from "react-toastify"; @@ -86,6 +87,11 @@ const router = createBrowserRouter([ path: "/store", element: <StorePage />, errorElement: <ErrorPage /> + }, + { + path: "/checkout", + element: <CheckoutPage />, + errorElement: <ErrorPage /> } ]); |