style: Misspelling
This commit is contained in:
@@ -41,7 +41,7 @@ export const useI18n = (
|
||||
const tFn: I18nGlobalTranslation = (key: string, ...arg: any[]) => {
|
||||
if (!key) return ''
|
||||
if (!key.includes('.') && !namespace) return key
|
||||
return t(getKey(namespace, key), ...(arg as I18nTranslationRestParameters))
|
||||
return (t as any)(getKey(namespace, key), ...(arg as I18nTranslationRestParameters))
|
||||
}
|
||||
return {
|
||||
...methods,
|
||||
|
||||
Reference in New Issue
Block a user