Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
chore: Update rooting
Browse files Browse the repository at this point in the history
  • Loading branch information
re-taro committed Oct 26, 2022
1 parent 08a2d0c commit 2f0451b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { FC } from "react";
import { useRegisterSW } from "virtual:pwa-register/react";
import { Route, Switch } from "wouter";
import { TopPage, SponsorPage, BazaarPage, MemberPage, NotFoundPage } from "./pages";
import {TopPage, SponsorPage, BazaarPage, MemberPage, NotFoundPage, TimeTablePage} from "./pages";
import { useScrollToTop } from "./hooks/useScrollToTop";
import { useJwt } from "./hooks/useJwt";

Expand All @@ -14,6 +14,7 @@ const Router: FC = () => {
<Route path="/" component={TopPage} />
<Route path="/sponsors" component={SponsorPage} />
<Route path="/bazaar" component={BazaarPage} />
<Route path="/timetable" component={TimeTablePage} />
<Route path="/member" component={MemberPage} />
<Route component={NotFoundPage} />
</Switch>
Expand Down

0 comments on commit 2f0451b

Please sign in to comment.