From 1e04166c93e35effc544e23d4f0e4c6b81d04a27 Mon Sep 17 00:00:00 2001 From: DS Boyce <260543580+ds-boyce@users.noreply.github.com> Date: Tue, 3 Mar 2026 13:05:55 -0800 Subject: [PATCH] Remove unnecessary check for key --- src/lib/translation/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/translation/index.tsx b/src/lib/translation/index.tsx index f64f90635f..0f54a5b14e 100644 --- a/src/lib/translation/index.tsx +++ b/src/lib/translation/index.tsx @@ -87,7 +87,6 @@ export function useTranslate({key}: {key: string}) { useFocusEffect( useCallback(() => { - if (!key) return const cleanup = context.acquireTranslation(key) return cleanup }, [key, context]),