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.
24 lines
543 B
24 lines
543 B
3 years ago
|
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'
|
||
|
|
||
|
function App() {
|
||
|
return (
|
||
|
<BrowserRouter>
|
||
|
<div className="App">
|
||
|
<Switch>
|
||
|
<Route path="/" component={Dashboard} />
|
||
|
<Route path="/sessions/:clientId" component={Session} />
|
||
|
<p>landing page</p>
|
||
|
<p>session</p>
|
||
|
</Switch>
|
||
|
</div>
|
||
|
</BrowserRouter>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export default App
|