From 0263b51cf8ba3a2cf52dff3f057d049e5d127927 Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Wed, 15 Feb 2023 22:37:37 +0100 Subject: [PATCH] fix: Use correct locale for en --- src/I18nHandler.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/I18nHandler.tsx b/src/I18nHandler.tsx index 47058d2..8237ff3 100644 --- a/src/I18nHandler.tsx +++ b/src/I18nHandler.tsx @@ -2,7 +2,7 @@ import * as yup from "yup" import {useTranslation} from "react-i18next" import {useEffect} from "react" import {de} from "yup-locales" -import en from "yup/es/locale" +import en from "yup/lib/locale" const YUP_LOCALE_LANGUAGE_MAP: Record = { "en-US": en,