Created
March 30, 2020 17:26
-
-
Save Porter97/2d8de9216c3dd4deb93ea9b8f408bfac 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
#... | |
import Home from './components/Home' | |
#... | |
class AppRouter extends Component { | |
#... | |
render() { | |
#... | |
<Switch> | |
<Route exact path="/" component={() => <Home currentUser={this.props.currentUser} />} /> | |
<Route path="/register" component={Register} /> | |
</Switch> | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment