fix: E2E tests

This commit is contained in:
Piyush Gupta
2024-10-15 12:02:55 +05:30
parent 2cd51e18f4
commit edd1b6bc0d

View File

@@ -463,13 +463,12 @@ export const MainNavigation = ({
{dropdownNavigation.map(
(link) =>
!link.hidden && (
<DropdownMenuItem
key={link.label}
icon={<link.icon className="h-4 w-4" strokeWidth={1.5} />}>
<Link href={link.href} target={link.target} className="flex items-center">
<Link href={link.href} target={link.target} className="flex w-full items-center">
<DropdownMenuItem>
<link.icon className="mr-2 h-4 w-4" strokeWidth={1.5} />
{link.label}
</Link>
</DropdownMenuItem>
</DropdownMenuItem>
</Link>
)
)}