Add non-custom currencies per group

This commit is contained in:
Steven Sengchanh
2025-04-19 00:54:15 +02:00
parent a11efc79c1
commit af4bfe3780
26 changed files with 4648 additions and 62 deletions

View File

@@ -1,4 +1,5 @@
'use client'
import { Currency } from '@/lib/currency'
import { cn, formatCurrency } from '@/lib/utils'
import { useLocale, useTranslations } from 'next-intl'
@@ -7,7 +8,7 @@ export function TotalsYourSpendings({
currency,
}: {
totalParticipantSpendings?: number
currency: string
currency: Currency
}) {
const locale = useLocale()
const t = useTranslations('Stats.Totals')