mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-05 04:06:13 +01:00
* Use tRPC for recent groups page * Use tRPC for adding group by URL * Use tRPC for saving visited group * Group context
28 lines
634 B
TypeScript
28 lines
634 B
TypeScript
import { Totals } from '@/app/groups/[groupId]/stats/totals'
|
|
import {
|
|
Card,
|
|
CardContent,
|
|
CardDescription,
|
|
CardHeader,
|
|
CardTitle,
|
|
} from '@/components/ui/card'
|
|
import { useTranslations } from 'next-intl'
|
|
|
|
export function TotalsPageClient() {
|
|
const t = useTranslations('Stats')
|
|
|
|
return (
|
|
<>
|
|
<Card className="mb-4">
|
|
<CardHeader>
|
|
<CardTitle>{t('Totals.title')}</CardTitle>
|
|
<CardDescription>{t('Totals.description')}</CardDescription>
|
|
</CardHeader>
|
|
<CardContent className="flex flex-col space-y-4">
|
|
<Totals />
|
|
</CardContent>
|
|
</Card>
|
|
</>
|
|
)
|
|
}
|