Build and type fixes

This commit is contained in:
Darren Clarke 2023-05-24 20:27:57 +00:00
parent d5bd58ac3e
commit 656f3fbe71
64 changed files with 1878 additions and 1501 deletions

View file

@ -14,7 +14,7 @@ export const LanguageSelect = () => {
colors: { white, leafcutterElectricBlue },
} = useAppContext();
const router = useRouter();
const locales = { en: "English", fr: "Français" };
const locales: any = { en: "English", fr: "Français" };
const popupState = usePopupState({ variant: "popover", popupId: "language" });
return (
@ -36,7 +36,7 @@ export const LanguageSelect = () => {
},
}}
>
{locales[router.locale] ?? locales.en}
{locales[router.locale as any] ?? locales.en}
<KeyboardArrowDownIcon />
</IconButton>
<Menu {...bindMenu(popupState)}>