Skip to content

Commit

Permalink
remove typecasting on setSelectedValue
Browse files Browse the repository at this point in the history
  • Loading branch information
chad1008 committed Dec 1, 2022
1 parent 31e32d5 commit f4a0eca
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ function UnforwardedToggleGroupControlAsButtonGroup(
() => ( {
baseId,
state: selectedValue,
setState: setSelectedValue as React.Dispatch<
React.SetStateAction< string | number | undefined >
>,
setState: setSelectedValue,
isBlock: ! isAdaptiveWidth,
isDeselectable: true,
size,
Expand Down

0 comments on commit f4a0eca

Please sign in to comment.