Created
January 21, 2019 16:18
-
-
Save Franpastoragusti/dccd5a47b0f81892af13d73fe2182724 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
/* /src/app.jsx */ | |
import React, {Component} from "react"; | |
import { AuthProvider } from "./providers/authProvider"; | |
import { BrowserRouter } from "react-router-dom"; | |
import {Routes} from "./routes/routes"; | |
export class App extends Component { | |
render() { | |
return ( | |
<AuthProvider> | |
<BrowserRouter children={Routes} basename={"/"} /> | |
</AuthProvider> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment