diff --git a/src/index.ts b/src/index.ts index 6c5cd4a..7b32d04 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ import { createCoreContext, - NOT_REOSLVED, + NOT_RESOLVED, // @ts-expect-error internal function parseTranslateArgs, translate as _translate, @@ -377,7 +377,7 @@ export async function useTranslation< ...options, }, ]) - return NOT_REOSLVED === result ? key : result as string + return NOT_RESOLVED === result ? key : result as string } return translate as TranslationFunction