diff --git a/console/src/pages/Runtime/RuntimeOverviewLayout.tsx b/console/src/pages/Runtime/RuntimeOverviewLayout.tsx index 1379af6226..00866290c8 100644 --- a/console/src/pages/Runtime/RuntimeOverviewLayout.tsx +++ b/console/src/pages/Runtime/RuntimeOverviewLayout.tsx @@ -6,9 +6,6 @@ import { useHistory, useParams, useLocation } from 'react-router-dom' import { INavItem } from '@/components/BaseSidebar' import { fetchRuntime, removeRuntime } from '@/domain/runtime/services/runtime' import BaseSubLayout from '@/pages/BaseSubLayout' -import { formatTimestampDateTime } from '@/utils/datetime' -import Accordion from '@starwhale/ui/Accordion' -import { Panel } from 'baseui/accordion' import { BaseNavTabs } from '@/components/BaseNavTabs' import RuntimeVersionSelector from '@/domain/runtime/components/RuntimeVersionSelector' import qs from 'qs' @@ -77,60 +74,6 @@ export default function RuntimeOverviewLayout({ children }: IRuntimeLayoutProps) return items }, [projectId, runtimeId, t, runtime]) - const header = React.useMemo(() => { - const items = [ - { - label: t('Runtime Name'), - value: runtime?.name ?? '', - }, - { - label: t('Version Name'), - value: runtime?.versionName ?? '', - }, - { - label: t('Version Tag'), - value: runtime?.versionTag ?? '', - }, - { - label: t('Created'), - value: runtime?.createdTime && formatTimestampDateTime(runtime.createdTime), - }, - ] - - const info = ( -