diff --git a/web/src/app/app/_controllers/DashboardController/DashboardIndividualContent.tsx b/web/src/app/app/_controllers/DashboardController/DashboardIndividualContent.tsx index 7fd2a6710..39d507da4 100644 --- a/web/src/app/app/_controllers/DashboardController/DashboardIndividualContent.tsx +++ b/web/src/app/app/_controllers/DashboardController/DashboardIndividualContent.tsx @@ -13,7 +13,7 @@ import { EditableTitle } from '@/components'; import { useUserConfigContextSelector } from '@/context/Users'; import { ShareRole } from '@/api/asset_interfaces'; import { useMemoizedFn } from 'ahooks'; -import { BusterDashboardResponse } from '@/api/asset_interfaces'; +import type { BusterDashboardResponse } from '@/api/asset_interfaces'; export const DashboardIndividualContent: React.FC<{}> = ({}) => { const isAnonymousUser = useUserConfigContextSelector((state) => state.isAnonymousUser); diff --git a/web/src/app/app/_controllers/DashboardController/index.ts b/web/src/app/app/_controllers/DashboardController/index.ts index d3b584882..60f6cceee 100644 --- a/web/src/app/app/_controllers/DashboardController/index.ts +++ b/web/src/app/app/_controllers/DashboardController/index.ts @@ -1,2 +1 @@ -export * from './DashboardIndividualDashboard'; export * from './DashboardIndividualContent'; diff --git a/web/src/app/app/dashboards/[dashboardId]/metrics/page.tsx b/web/src/app/app/dashboards/[dashboardId]/metrics/page.tsx deleted file mode 100644 index c926c82c4..000000000 --- a/web/src/app/app/dashboards/[dashboardId]/metrics/page.tsx +++ /dev/null @@ -1,10 +0,0 @@ -import { BusterRoutes, createBusterRoute } from '@/routes'; -import { permanentRedirect } from 'next/navigation'; - -export default function DashboardPage() { - return permanentRedirect( - createBusterRoute({ - route: BusterRoutes.APP_DASHBOARDS - }) - ); -} diff --git a/web/src/app/app/dashboards/page.tsx b/web/src/app/app/dashboards/page.tsx index 5e3f58769..0ef0d1b33 100644 --- a/web/src/app/app/dashboards/page.tsx +++ b/web/src/app/app/dashboards/page.tsx @@ -1,4 +1,3 @@ -import { AppContentHeader } from '../../../components/layout/AppContentHeader'; import { DashboardHeader } from './_DashboardHeader'; import { DashboardListContent } from './_DashboardListContent';