Skip to content

Commit

Permalink
refactor(RangeSlider): Cast tickCount to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
m7kvqbe1 committed Nov 30, 2023
1 parent 3aaea8b commit d3c94a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export const RangeSlider: React.FC<RangeSliderProps> = ({
</div>
)}
</Tracks>
{tickCount && (
{!!tickCount && (
<Ticks count={tickCount}>
{({ ticks }) => (
<StyledTicks>
Expand Down

0 comments on commit d3c94a4

Please sign in to comment.