Created
April 27, 2020 20:18
-
-
Save Porter97/a4db4c25e5ba028557079d5ab0485620 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 CollectionEditor from './components/collection/CollectionEditor'; | |
#... | |
class AppRouter extends Component { | |
#... | |
render() { | |
return ( | |
#... | |
<Switch> | |
<AuthedRoute path="/collection-editor/:id" component={CollectionEditor} /> | |
<AuthedRoute path="/collection-editor" component={CollectionEditor} /> | |
</Switch> | |
#.... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment