import { useTranslation } from "react-i18next";
function FlagGB() {
return (
);
}
function FlagNL() {
return (
);
}
export function LanguageSwitcher() {
const { i18n, t } = useTranslation();
const current = i18n.language === "nl" ? "nl" : "en";
const other = current === "en" ? "nl" : "en";
const setLang = (lng: "en" | "nl") => i18n.changeLanguage(lng);
return (
);
}