fix(toast): remove invalid translation hook helper

This commit is contained in:
2026-04-03 17:59:44 +02:00
parent d151fbb5b7
commit 67302da6ed

View File

@@ -353,7 +353,7 @@ export function showDeleteFailedToast(t: ToastTranslations) {
toast.error(t('dashboard.deleteFailed')); toast.error(t('dashboard.deleteFailed'));
} }
export function getToastTranslations() { export function useToastTranslations() {
const t = useTranslations('toasts'); const t = useTranslations('toasts');
return t as ToastTranslations; return t as ToastTranslations;
} }