Skip to content

Commit

Permalink
fix: segmentd disabled label is undefined (#6556)
Browse files Browse the repository at this point in the history
* fix: segmentd disabled label is undefined

* fix: segmentd disabled label is undefined

* fix: segmentd disabled label is undefined
  • Loading branch information
selicens authored May 14, 2023
1 parent 3ed455b commit a694167
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/segmented/src/segmented.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const SegmentedOption: FunctionalComponent<
payload,
title,
})
: label}
: label ?? value}
</div>
</label>
);
Expand Down

0 comments on commit a694167

Please sign in to comment.