Skip to content

Commit

Permalink
fix(app): added home page reference to main path
Browse files Browse the repository at this point in the history
Took 6 minutes
  • Loading branch information
rokartur committed Jun 28, 2024
1 parent 70de1a4 commit 33b48d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import SuspenseComponent from '@/pages/suspense'

gsap.registerPlugin(useGSAP, ScrollTrigger)

const Home = lazy(() => import('@/pages/home'))
const Settings = lazy(() => import('@/pages/app/settings'))
const Calendar = lazy(() => import('@/pages/app/calendar'))
const Trainers = lazy(() => import('@/pages/app/trainers'))
Expand All @@ -27,7 +28,7 @@ const MemoizedRoutes = memo(() => (
<Header />
<Suspense fallback={<SuspenseComponent />}>
<Routes>
<Route path={'/'} element={<h1>landing</h1>} />
<Route path={'/'} element={<Home/>} />
<Route path={'/app/calendar'} element={<Calendar />} />
<Route path={'/app/trainers'} element={<Trainers/>} />
<Route path={'/app/billing'} element={<Billing/>} />
Expand Down

0 comments on commit 33b48d3

Please sign in to comment.