diff --git a/packages/pancake-uikit/src/__tests__/widgets/menu.test.tsx b/packages/pancake-uikit/src/__tests__/widgets/menu.test.tsx index 44240eb66..c3a230920 100644 --- a/packages/pancake-uikit/src/__tests__/widgets/menu.test.tsx +++ b/packages/pancake-uikit/src/__tests__/widgets/menu.test.tsx @@ -821,12 +821,12 @@ it("renders correctly", () => { >
{
{
{
{
{
= ({ return ( - + {icon} {label} {status && ( diff --git a/packages/pancake-uikit/src/widgets/Menu/components/MenuEntry.tsx b/packages/pancake-uikit/src/widgets/Menu/components/MenuEntry.tsx index e03f443c8..5051e4c10 100644 --- a/packages/pancake-uikit/src/widgets/Menu/components/MenuEntry.tsx +++ b/packages/pancake-uikit/src/widgets/Menu/components/MenuEntry.tsx @@ -65,7 +65,6 @@ const MenuEntry = styled.div` MenuEntry.defaultProps = { secondary: false, isActive: false, - role: "button", }; const LinkStatus = styled(Text)<{ color: keyof Colors }>` diff --git a/packages/pancake-uikit/src/widgets/Menu/components/MenuLink.tsx b/packages/pancake-uikit/src/widgets/Menu/components/MenuLink.tsx index 3db29953a..ce5284532 100644 --- a/packages/pancake-uikit/src/widgets/Menu/components/MenuLink.tsx +++ b/packages/pancake-uikit/src/widgets/Menu/components/MenuLink.tsx @@ -7,7 +7,7 @@ const MenuLink: React.FC> = ({ href, ... // eslint-disable-next-line @typescript-eslint/no-explicit-any const Tag: any = isHttpLink ? "a" : NavLink; const props = isHttpLink ? { href } : { to: href }; - return ; + return ; }; export default MenuLink;