Skip to content

Commit

Permalink
Changes using HashRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
dllopis committed Feb 15, 2024
1 parent da2e360 commit 102bb2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ import PrepareQuiz from "./components/PrepareQuiz";
const App = () => {
return (
<Router>
<Switch>
<NavigationBar />
<Routes>
<Route path="/" element={<Home />} />
<Route path="/chapter/:chapter/flashcards" element={<KeyTermsCarousel chapter="1"/>} />
<Route path="/chapter/:chapter" element={<KeyTerms chapter="1"/>} />
<Route path="/chapter/:chapter/multiplechoicequiz" element={<PrepareQuiz chapter="1"/>} />
</Routes>
</Switch>
</Router>
);
};
Expand Down

0 comments on commit 102bb2a

Please sign in to comment.