'use client' import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Switch } from '@/components/ui/switch' import { Label } from '@/components/ui/label' import { useSettings } from '@/hooks/useSettings' export default function SettingsPage() { const { settings, updateSettings } = useSettings() if (!settings) return null return (

Settings

UI Settings
Format large numbers (e.g., 1K, 1M, 1B)
updateSettings({ ...settings, ui: { ...settings.ui, useNumberFormatting: checked } }) } />
Use thousand separators (e.g., 1,000 vs 1000)
updateSettings({ ...settings, ui: { ...settings.ui, useGrouping: checked } }) } />
) }