Created
January 30, 2022 14:11
-
-
Save ac12644/7123d8390d5937a6eeb404ca8a5d3968 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
<Router> | |
<div> | |
<nav> | |
<ul> | |
<li> | |
<NavLink to="/">Home</NavLink> | |
</li> | |
<li> | |
<NavLink to="/new/">New</NavLink> | |
</li> | |
</ul> | |
</nav> | |
<Route path="/" exact component={Home} /> | |
<Route path="/new/" component={NewFundraiser} /> | |
</div> | |
</Router> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment