pull/305/merge
Priyanshu Garg 7 months ago committed by GitHub
commit c761fde436
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -495,7 +495,7 @@ class App extends Component {
<Route path='/contact' component={Contact} /> <Route path='/contact' component={Contact} />
<Route path='/challenge' component={Challenges} /> <Route path='/challenge' component={Challenges} />
<Route path='/' component={Home} /> <Route path='/' component={Home} />
<Route component={NotFound} /> <Route path="*" component={NotFound} />
</Switch> </Switch>
</div> </div>
</Router> </Router>
@ -555,11 +555,11 @@ class App extends Component {
<div className='App'> <div className='App'>
<Navbar /> <Navbar />
<Switch> <Switch>
<Route component={NotFound} />
<Route path='/about' component={About} /> <Route path='/about' component={About} />
<Route path='/contact' component={Contact} /> <Route path='/contact' component={Contact} />
<Route path='/challenge' component={Challenges} /> <Route path='/challenge' component={Challenges} />
<Route exact path='/' component={Home} /> <Route exact path='/' component={Home} />
<Route path="*" component={NotFound} />
</Switch> </Switch>
</div> </div>
</Router> </Router>
@ -790,7 +790,7 @@ class App extends Component {
<Route path='/contact' component={Contact} /> <Route path='/contact' component={Contact} />
<Route path='/challenges' component={Challenges} /> <Route path='/challenges' component={Challenges} />
<Route exact path='/' component={Home} /> <Route exact path='/' component={Home} />
<Route component={NotFound} /> <Route path="*" component={NotFound} />
</Switch> </Switch>
</div> </div>
</Router> </Router>
@ -1091,7 +1091,7 @@ class App extends Component {
}} }}
/> />
<Route exact path='/' component={Home} /> <Route exact path='/' component={Home} />
<Route component={NotFound} /> <Route path="*" component={NotFound} />
</Switch> </Switch>
</div> </div>
</Router> </Router>
@ -1395,7 +1395,7 @@ class App extends Component {
}} }}
/> />
<Route exact path='/' component={Home} /> <Route exact path='/' component={Home} />
<Route component={NotFound} /> <Route path="*" component={NotFound} />
</Switch> </Switch>
</div> </div>
</Router> </Router>
@ -1703,7 +1703,7 @@ class App extends Component {
}} }}
/> />
<Route exact path='/' component={Home} /> <Route exact path='/' component={Home} />
<Route component={NotFound} /> <Route path="*" component={NotFound} />
</Switch> </Switch>
</div> </div>
</Router> </Router>

Loading…
Cancel
Save