Make tokens the default usage tab (#82)

This commit is contained in:
Matt Rubens 2025-06-06 00:05:49 -04:00 committed by GitHub
parent 0469db113d
commit 0ac5a5665b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ export const UsageCard = ({
const [selectedPeriod, setSelectedPeriod] = useState<TimePeriodConfig>(
allTimePeriods.find((p) => p.value === 7 && p.granularity === 'daily')!,
);
const [selectedMetric, setSelectedMetric] = useState<MetricType>('tasks');
const [selectedMetric, setSelectedMetric] = useState<MetricType>('tokens');
const path = usePathname();