Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 17_react_router.md #305

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions 17_React_Router/17_react_router.md
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ class App extends Component {
<Route path='/contact' component={Contact} />
<Route path='/challenge' component={Challenges} />
<Route path='/' component={Home} />
<Route component={NotFound} />
<Route path="*" component={NotFound} />
</Switch>
</div>
</Router>
Expand Down Expand Up @@ -555,11 +555,11 @@ class App extends Component {
<div className='App'>
<Navbar />
<Switch>
<Route component={NotFound} />
<Route path='/about' component={About} />
<Route path='/contact' component={Contact} />
<Route path='/challenge' component={Challenges} />
<Route exact path='/' component={Home} />
<Route path="*" component={NotFound} />
</Switch>
</div>
</Router>
Expand Down Expand Up @@ -790,7 +790,7 @@ class App extends Component {
<Route path='/contact' component={Contact} />
<Route path='/challenges' component={Challenges} />
<Route exact path='/' component={Home} />
<Route component={NotFound} />
<Route path="*" component={NotFound} />
</Switch>
</div>
</Router>
Expand Down Expand Up @@ -1091,7 +1091,7 @@ class App extends Component {
}}
/>
<Route exact path='/' component={Home} />
<Route component={NotFound} />
<Route path="*" component={NotFound} />
</Switch>
</div>
</Router>
Expand Down Expand Up @@ -1395,7 +1395,7 @@ class App extends Component {
}}
/>
<Route exact path='/' component={Home} />
<Route component={NotFound} />
<Route path="*" component={NotFound} />
</Switch>
</div>
</Router>
Expand Down Expand Up @@ -1703,7 +1703,7 @@ class App extends Component {
}}
/>
<Route exact path='/' component={Home} />
<Route component={NotFound} />
<Route path="*" component={NotFound} />
</Switch>
</div>
</Router>
Expand Down