Skip to content

Commit

Permalink
Prettier 3.3.3 (#7297)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 2, 2024
1 parent 7d1ee3d commit db99bda
Show file tree
Hide file tree
Showing 3 changed files with 313 additions and 321 deletions.
2 changes: 1 addition & 1 deletion components/lib/slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const Slider = React.memo(
const barWidth = React.useRef(0);
const barHeight = React.useRef(0);
const touchId = React.useRef();
const value = props.range ? props.value ?? [props.min, props.max] : props.value ?? props.min ?? 0;
const value = props.range ? (props.value ?? [props.min, props.max]) : (props.value ?? props.min ?? 0);
const horizontal = props.orientation === 'horizontal';
const vertical = props.orientation === 'vertical';

Expand Down
Loading

0 comments on commit db99bda

Please sign in to comment.