mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-16 12:36:13 +01:00
* I18n with next-intl * package-lock * Finnish translations * Development fix * Use locale for positioning currency symbol * Translations: Expenses.ActiveUserModal * Translations: group 404 * Better translation for ExpenseCard * Apply translations in CategorySelect search * Fix for Finnish translation * Translations for ExpenseDocumentsInput * Translations for CreateFromReceipt * Fix for Finnish translation * Translations for schema errors * Fix for Finnish translation * Fixes for Finnish translations * Prettier --------- Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
18 lines
435 B
TypeScript
18 lines
435 B
TypeScript
import { Button } from '@/components/ui/button'
|
|
import { useTranslations } from 'next-intl'
|
|
import Link from 'next/link'
|
|
|
|
export default function NotFound() {
|
|
const t = useTranslations('Groups.NotFound')
|
|
return (
|
|
<div className="flex flex-col gap-2">
|
|
<p>{t('text')}</p>
|
|
<p>
|
|
<Button asChild variant="secondary">
|
|
<Link href="/groups">{t('link')}</Link>
|
|
</Button>
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|