1
0
mirror of synced 2025-12-23 21:07:12 -05:00

adding to 2nd return

This commit is contained in:
Grace Park
2021-06-16 13:24:05 -07:00
parent a20f56deaf
commit 8899f30911

View File

@@ -71,7 +71,7 @@ export const LanguagePicker = ({ variant }: Props) => {
{langs.map((lang) => {
return (
<Dropdown.Item key={lang.code}>
<Link href={router.asPath} locale={lang.hreflang}>
<Link href={router.asPath} locale={lang.code}>
{lang.nativeName ? (
<>
{lang.nativeName} ({lang.name})