From 42e248190cfbeebf72f7617326cfb03c4f241304 Mon Sep 17 00:00:00 2001 From: HANA Date: Tue, 14 Jul 2020 11:52:50 -0500 Subject: [PATCH] fix: refactor menu, megamanu; removes deprecation warnings from tests (#313) --- src/components/header/MegaMenu/MegaMenu.tsx | 2 +- src/components/header/Menu/Menu.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/header/MegaMenu/MegaMenu.tsx b/src/components/header/MegaMenu/MegaMenu.tsx index 0f98db23fd..c663862691 100644 --- a/src/components/header/MegaMenu/MegaMenu.tsx +++ b/src/components/header/MegaMenu/MegaMenu.tsx @@ -19,7 +19,7 @@ export const MegaMenu = (
{items.map((listItems, i) => (
- +
))}
diff --git a/src/components/header/Menu/Menu.tsx b/src/components/header/Menu/Menu.tsx index 1841222697..5c3709af53 100644 --- a/src/components/header/Menu/Menu.tsx +++ b/src/components/header/Menu/Menu.tsx @@ -8,7 +8,9 @@ type MenuProps = { export const Menu = (props: MenuProps & NavListProps): React.ReactElement => { const { items, isOpen, ...navListProps } = props - return