add bandwidth chart

This commit is contained in:
Henry Dollman
2024-07-19 17:00:19 -04:00
parent 8a6b25ddae
commit 224f51da1a
5 changed files with 122 additions and 19 deletions

View File

@@ -44,8 +44,9 @@ import {
} from './components/ui/dropdown-menu.tsx'
import { AlertRecord, SystemRecord } from './types'
import { $router, Link, navigate } from './components/router.tsx'
import ServerDetail from './components/routes/server.tsx'
const ServerDetail = lazy(() => import('./components/routes/server.tsx'))
// const ServerDetail = lazy(() => import('./components/routes/server.tsx'))
const CommandPalette = lazy(() => import('./components/command-palette.tsx'))
const LoginPage = lazy(() => import('./components/login/login.tsx'))
@@ -103,11 +104,7 @@ const App = () => {
} else if (page.path === '/') {
return <Home />
} else if (page.route === 'server') {
return (
<Suspense>
<ServerDetail name={page.params.name} />
</Suspense>
)
return <ServerDetail name={page.params.name} />
}
}