You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
536 B
23 lines
536 B
import React from 'react' |
|
import './App.css' |
|
|
|
import { BrowserRouter, Switch, Route } from 'react-router-dom' |
|
import { Dashboard } from './pages/Dashboard' |
|
import { Session } from './pages/Session' |
|
|
|
console.log('ENV', process.env.NODE_ENV) |
|
|
|
function App() { |
|
return ( |
|
<BrowserRouter> |
|
<div className="App"> |
|
<Switch> |
|
<Route path="/sessions/:clientId" component={Session} /> |
|
<Route exact path="/" component={Dashboard} /> |
|
</Switch> |
|
</div> |
|
</BrowserRouter> |
|
) |
|
} |
|
|
|
export default App
|
|
|