Skip to content

Commit

Permalink
fix: treenav issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman committed Oct 7, 2024
1 parent 07545a7 commit 5f6f477
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/components/ComboBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ function OpenButton({
buttonProps,
...props
}: HTMLAttributes<HTMLDivElement> & {
isOpen?: boolean
buttonRef: RefObject<any>
buttonProps: AriaButtonProps
}) {
Expand Down Expand Up @@ -157,7 +156,6 @@ function ComboBoxInput({
buttonProps,
showArrow = true,
hasChips = false,
isOpen,
onInputClick,
loading,
...props
Expand Down Expand Up @@ -186,7 +184,6 @@ function ComboBoxInput({
dropdownButton={
showArrow ? (
<OpenButton
isOpen={isOpen}
buttonRef={buttonRef}
buttonProps={buttonProps}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/TreeNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function NavLink({
paddingRight: 0,
}}
textDecoration="none"
{...(href ? { as: Link } : {})}
{...(href ? { as: Link, href } : {})}
{...props}
>
<Div
Expand Down

0 comments on commit 5f6f477

Please sign in to comment.