diff --git a/js/apps/account-ui/src/personal-info/LocaleSelector.tsx b/js/apps/account-ui/src/personal-info/LocaleSelector.tsx index 07baa91b5e..be8bc077bb 100644 --- a/js/apps/account-ui/src/personal-info/LocaleSelector.tsx +++ b/js/apps/account-ui/src/personal-info/LocaleSelector.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; import { useTranslation } from "react-i18next"; -import type { SelectOption } from "ui-shared"; +import type { SelectControlOption } from "ui-shared"; import { SelectControl } from "ui-shared"; import { getSupportedLocales } from "../api/methods"; import { usePromise } from "../utils/usePromise"; @@ -15,13 +15,13 @@ const localeToDisplayName = (locale: string) => { export const LocaleSelector = () => { const { t } = useTranslation(); - const [locales, setLocales] = useState([]); + const [locales, setLocales] = useState([]); usePromise( (signal) => getSupportedLocales({ signal }), (locales) => setLocales( - locales.map