diff --git a/packages/components/src/toggle-group-control/toggle-group-control/as-button-group.tsx b/packages/components/src/toggle-group-control/toggle-group-control/as-button-group.tsx index 0de5543bcc7318..a9e78790711d34 100644 --- a/packages/components/src/toggle-group-control/toggle-group-control/as-button-group.tsx +++ b/packages/components/src/toggle-group-control/toggle-group-control/as-button-group.tsx @@ -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,