Skip to content

Commit

Permalink
fix(design-system): type check (#2394)
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 authored Jun 12, 2023
1 parent a367741 commit 286007d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ export const Dropdown = ({
onSelectAll([AuthorizationControlSelection.ALL])
}
} else {
onSelectAll([])
if (onSelectAll) {
onSelectAll([])
}
}
setAllItemsSelected(!allItemsSelected)
}}
Expand Down

0 comments on commit 286007d

Please sign in to comment.