fix(ui): use Tabs instead of SegmentedTabs for content navigation
Some checks failed
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m4s
CI / docker (push) Has started running
CI / deploy (push) Has been cancelled
CI / deploy-feature (push) Has been cancelled

This commit is contained in:
hsiegeln
2026-03-28 14:27:28 +01:00
parent d63a9f8ce7
commit 699ef86f8f

View File

@@ -1,11 +1,11 @@
import { SegmentedTabs } from '@cameleer/design-system';
import { Tabs } from '@cameleer/design-system';
import type { TabKey } from '../hooks/useScope';
import styles from './ContentTabs.module.css';
const TABS = [
{ label: 'Exchanges', value: 'exchanges' as const },
{ label: 'Dashboard', value: 'dashboard' as const },
{ label: 'Runtime', value: 'runtime' as const },
{ label: 'Exchanges', value: 'exchanges' },
{ label: 'Dashboard', value: 'dashboard' },
{ label: 'Runtime', value: 'runtime' },
];
interface ContentTabsProps {
@@ -16,7 +16,7 @@ interface ContentTabsProps {
export function ContentTabs({ active, onChange }: ContentTabsProps) {
return (
<div className={styles.wrapper}>
<SegmentedTabs
<Tabs
tabs={TABS}
active={active}
onChange={(v) => onChange(v as TabKey)}