2018-07-19 21:49:43 +00:00
|
|
|
import React from 'react'
|
|
|
|
|
|
|
|
import { Router } from '@reach/router'
|
|
|
|
|
|
|
|
import Dashboard from './Dashboard'
|
|
|
|
import Incidents from './Incidents'
|
|
|
|
|
2018-08-08 23:43:53 +00:00
|
|
|
export default function App() {
|
2018-07-19 21:49:43 +00:00
|
|
|
return (
|
|
|
|
<Router>
|
2018-08-08 23:43:53 +00:00
|
|
|
<Dashboard path="/" />
|
|
|
|
<Incidents path="/incidents/" />
|
2018-07-19 21:49:43 +00:00
|
|
|
</Router>
|
|
|
|
)
|
|
|
|
}
|