Remove unnecessary check for key

This commit is contained in:
DS Boyce
2026-03-03 13:05:55 -08:00
parent 2a141c641b
commit 1e04166c93
-1
View File
@@ -87,7 +87,6 @@ export function useTranslate({key}: {key: string}) {
useFocusEffect(
useCallback(() => {
if (!key) return
const cleanup = context.acquireTranslation(key)
return cleanup
}, [key, context]),