Skip to content

Commit

Permalink
chore: remove useless (#48)
Browse files Browse the repository at this point in the history
Co-authored-by: afc163 <[email protected]>
  • Loading branch information
ajuner and afc163 authored Sep 28, 2024
1 parent 84ce28b commit 156d461
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ const Segmented = React.forwardRef<HTMLDivElement, SegmentedProps>(
event: React.ChangeEvent<HTMLInputElement>,
val: SegmentedRawOption,
) => {
if (disabled) {
return;
}
setRawValue(val);
onChange?.(val);
};
Expand Down

0 comments on commit 156d461

Please sign in to comment.