From 76019ca74d87382ab2b3fb2e657aef66ad14486f Mon Sep 17 00:00:00 2001 From: Viktor Kuzhelnyi Date: Mon, 21 Nov 2022 15:44:03 +0500 Subject: [PATCH] fix: Link children --- components/AsideMenuItem.tsx | 4 ++-- components/BaseButton.tsx | 4 ++-- components/NavBarItem.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/AsideMenuItem.tsx b/components/AsideMenuItem.tsx index 2b1049d..bfbfccf 100644 --- a/components/AsideMenuItem.tsx +++ b/components/AsideMenuItem.tsx @@ -68,8 +68,8 @@ const AsideMenuItem = ({ item, isDropdownList = false }: Props) => { return (
  • {item.href && ( - - {asideMenuItemInnerContents} + + {asideMenuItemInnerContents} )} {!item.href && ( diff --git a/components/BaseButton.tsx b/components/BaseButton.tsx index 08a5f8a..af447c6 100644 --- a/components/BaseButton.tsx +++ b/components/BaseButton.tsx @@ -78,8 +78,8 @@ export default function BaseButton({ if (href && !disabled) { return ( - - {componentChildren} + + {componentChildren} ) } diff --git a/components/NavBarItem.tsx b/components/NavBarItem.tsx index c2879e7..fca73ac 100644 --- a/components/NavBarItem.tsx +++ b/components/NavBarItem.tsx @@ -92,8 +92,8 @@ export default function NavBarItem({ item }: Props) { if (item.href) { return ( - - {NavBarItemComponentContents} + + {NavBarItemComponentContents} ) }