Skip to content

Instantly share code, notes, and snippets.

@Porter97
Created April 8, 2020 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Porter97/29dbbca7c7b08fa692c5393020d7b62f to your computer and use it in GitHub Desktop.
Save Porter97/29dbbca7c7b08fa692c5393020d7b62f to your computer and use it in GitHub Desktop.
#...
import NotFound from './components/NotFound';
#...
class AppRouter extends Component {
#...
render() {
return (
<HashRouter>
#...
<Switch>
#...
<Route component={NotFound} />
</Switch>
#...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment