-
-
Save DanyF-github/872ba1ed4dbf4e9ca66030a2812e0ead to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// client/src/pages/index.tsx | |
... | |
import HomeworksPage from './HomeworksPage'; | |
function Pages() { | |
return ( | |
<Router> | |
<Navigation /> | |
<div id="roots" className="p-2"> | |
... | |
<Route path="/homeworks" exact component={HomeworksPage} /> | |
<Route path="/" exact component={Home} /> | |
</div> | |
</Router> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment