From 48ce1460b4a987463bfc6f89c42f0186a627db51 Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 1 Dec 2023 13:28:52 +0100 Subject: [PATCH] fix(components): fix linting --- src/components/navigation/navigation-disclosure-panel.tsx | 4 ++-- src/components/navigation/navigation-disclosure.tsx | 2 +- src/components/navigation/navigation-group.tsx | 4 ++-- src/components/sidesheet/sidesheet.tsx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/navigation/navigation-disclosure-panel.tsx b/src/components/navigation/navigation-disclosure-panel.tsx index eddd0ee3..1fb75293 100644 --- a/src/components/navigation/navigation-disclosure-panel.tsx +++ b/src/components/navigation/navigation-disclosure-panel.tsx @@ -16,9 +16,9 @@ const NavigationDisclosurePanelItem = ({ return (
{children} diff --git a/src/components/navigation/navigation-disclosure.tsx b/src/components/navigation/navigation-disclosure.tsx index 57ee5f2c..f15f022e 100644 --- a/src/components/navigation/navigation-disclosure.tsx +++ b/src/components/navigation/navigation-disclosure.tsx @@ -9,7 +9,7 @@ interface NavigationDisclosureButtonProps { const NavigationDisclosureButton = ({ children, LeftIcon }: NavigationDisclosureButtonProps) => { return ( - + {LeftIcon ? : null} {children} diff --git a/src/components/navigation/navigation-group.tsx b/src/components/navigation/navigation-group.tsx index 31922d0b..f2c8e855 100644 --- a/src/components/navigation/navigation-group.tsx +++ b/src/components/navigation/navigation-group.tsx @@ -11,8 +11,8 @@ const NavigationGroupItem = ({ children, isActive, LeftIcon }: NavigationGroupIt return (
{LeftIcon ? : null} diff --git a/src/components/sidesheet/sidesheet.tsx b/src/components/sidesheet/sidesheet.tsx index 82ade1ca..06d11850 100644 --- a/src/components/sidesheet/sidesheet.tsx +++ b/src/components/sidesheet/sidesheet.tsx @@ -36,7 +36,7 @@ const Sidesheet = ({ children, isOpen, onClose, initialFocus }: SidesheetProps) leaveFrom="-translate-x-0" leaveTo="translate-x-full" > - + {children}