Created
September 9, 2019 07:04
AuthorizeRoute example
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
<Layout> | |
<Route exact path='/' component={Home} /> | |
<Route path='/counter' component={Counter} /> | |
<AuthorizeRoute path='/fetch-data' component={FetchData} /> | |
<Route path={ApplicationPaths.ApiAuthorizationPrefix} component={ApiAuthorizationRoutes} /> | |
</Layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment