diff --git a/packages/console/src/pages/Settings/index.tsx b/packages/console/src/pages/Settings/index.tsx index a7c69bb93..b2d003437 100644 --- a/packages/console/src/pages/Settings/index.tsx +++ b/packages/console/src/pages/Settings/index.tsx @@ -41,6 +41,10 @@ const Settings = () => { toast.success(t('general.saved')); }); + const defaultLanguage = Object.values(Language).includes(language) + ? language + : Language.English; + return ( @@ -58,7 +62,7 @@ const Settings = () => { control={control} render={({ field: { value, onChange } }) => (