Skip to content

Commit

Permalink
fix: nanofix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Standrik authored and Anton Standrik committed Nov 19, 2024
1 parent 2858526 commit 542cafe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/TreeView/TreeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export function TreeView({
active = false,
onClick,
onArrowClick,
onActionsOpen,
onActionsClose,
hasArrow = false,
actions,
Expand Down Expand Up @@ -98,7 +99,7 @@ export function TreeView({
{additionalNodeElements}
<DropdownMenu
onOpenToggle={(isOpen) =>
isOpen ? onActionsClose?.() : onActionsClose?.()
isOpen ? onActionsOpen?.() : onActionsClose?.()
}
defaultSwitcherProps={{
view: 'flat-secondary',
Expand Down

0 comments on commit 542cafe

Please sign in to comment.