Created
August 19, 2020 23:39
-
-
Save isaidspaghetti/3fd430fe48217164c96ebc48c4b483c9 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
//frontend/src/index.js:9 | |
ReactDOM.render( | |
<React.StrictMode> | |
<BrowserRouter> | |
<Switch> | |
<Route path="/" exact={true}> | |
<Customer /> | |
</Route> | |
<Route path="/admin" exact={true}> | |
<Admin /> | |
</Route> | |
</Switch> | |
</BrowserRouter> | |
</React.StrictMode>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment