Finished core functionality.
This commit is contained in:
@@ -4,19 +4,18 @@ import { useTracker } from 'meteor/react-meteor-data';
|
||||
import _ from 'lodash';
|
||||
import TabNav from '../util/TabNav';
|
||||
import {Route, Routes} from "react-router-dom";
|
||||
import Search from './History/Search'
|
||||
|
||||
export default () => {
|
||||
let tabs = [
|
||||
{
|
||||
title: "Chromebook Usage",
|
||||
getElement: () => {
|
||||
const ChromebookUsage = lazy(()=>import('./History/ChromebookUsage'))
|
||||
return <ChromebookUsage/>
|
||||
},
|
||||
path: '/chromebookUsage',
|
||||
href: 'chromebookUsage'
|
||||
},
|
||||
// {
|
||||
// title: "Chromebook Usage",
|
||||
// getElement: () => {
|
||||
// const ChromebookUsage = lazy(()=>import('./History/ChromebookUsage'))
|
||||
// return <ChromebookUsage/>
|
||||
// },
|
||||
// path: '/chromebookUsage',
|
||||
// href: 'chromebookUsage'
|
||||
// },
|
||||
{
|
||||
title: "Asset History",
|
||||
getElement: () => {
|
||||
@@ -31,10 +30,6 @@ export default () => {
|
||||
return (
|
||||
<>
|
||||
<TabNav tabs={tabs}/>
|
||||
|
||||
<Routes>
|
||||
<Route path="search" element={<Search/>}/>
|
||||
</Routes>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user