From 01f01a8dd2b72c70914fec7b7f9882c3ce215b91 Mon Sep 17 00:00:00 2001 From: Jake Laderman Date: Mon, 7 Oct 2024 18:36:59 -0500 Subject: [PATCH] fix: treenav issue (#653) --- src/components/ComboBox.tsx | 3 --- src/components/TreeNavigation.tsx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/ComboBox.tsx b/src/components/ComboBox.tsx index b3b23c21..86a96ece 100644 --- a/src/components/ComboBox.tsx +++ b/src/components/ComboBox.tsx @@ -110,7 +110,6 @@ function OpenButton({ buttonProps, ...props }: HTMLAttributes & { - isOpen?: boolean buttonRef: RefObject buttonProps: AriaButtonProps }) { @@ -157,7 +156,6 @@ function ComboBoxInput({ buttonProps, showArrow = true, hasChips = false, - isOpen, onInputClick, loading, ...props @@ -186,7 +184,6 @@ function ComboBoxInput({ dropdownButton={ showArrow ? ( diff --git a/src/components/TreeNavigation.tsx b/src/components/TreeNavigation.tsx index f415f987..67028359 100644 --- a/src/components/TreeNavigation.tsx +++ b/src/components/TreeNavigation.tsx @@ -177,7 +177,7 @@ function NavLink({ paddingRight: 0, }} textDecoration="none" - {...(href ? { as: Link } : {})} + {...(href ? { as: Link, href } : {})} {...props} >