Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function Navigation() {
const { i18n } = useLingui()
const menu = (
<menu>
{Object.keys(locales).map(locale => (
activate(locale)}>
{locales[locale]}
))}
</menu>
)
return (
<a>{locales[i18n.locale]}</a>
)
}