From 67302da6ed33457a6e4948eeec18bfa4d232971c Mon Sep 17 00:00:00 2001 From: Matthias Meister Date: Fri, 3 Apr 2026 17:59:44 +0200 Subject: [PATCH] fix(toast): remove invalid translation hook helper --- lib/toast.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toast.ts b/lib/toast.ts index 3e0e462..5bdf1a1 100644 --- a/lib/toast.ts +++ b/lib/toast.ts @@ -353,7 +353,7 @@ export function showDeleteFailedToast(t: ToastTranslations) { toast.error(t('dashboard.deleteFailed')); } -export function getToastTranslations() { +export function useToastTranslations() { const t = useTranslations('toasts'); return t as ToastTranslations; }