fix(navbar): prevent dropdown prop leaking to links
This commit is contained in:
@@ -257,7 +257,7 @@ export function SiteNavbar({ theme, onThemeChange }: SiteNavbarProps) {
|
|||||||
<DropdownMenuLabel>{t("socialLinks")}</DropdownMenuLabel>
|
<DropdownMenuLabel>{t("socialLinks")}</DropdownMenuLabel>
|
||||||
<DropdownMenuSeparator />
|
<DropdownMenuSeparator />
|
||||||
{SOCIAL_LINKS.map((item) => (
|
{SOCIAL_LINKS.map((item) => (
|
||||||
<DropdownMenuItem key={item.id} asChild interactiveMotion="shift">
|
<DropdownMenuItem key={item.id} asChild>
|
||||||
<a
|
<a
|
||||||
href={item.href}
|
href={item.href}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|||||||
Reference in New Issue
Block a user