adding to 2nd return
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user