Skip to content

Commit

Permalink
NumberControl: Maintain prop order
Browse files Browse the repository at this point in the history
  • Loading branch information
Infinite-Null committed Feb 5, 2025
1 parent 4602271 commit 4a6c455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/number-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ function UnforwardedNumberControl(
hideHTMLArrows={ spinControls !== 'native' }
isDragEnabled={ isDragEnabled }
label={ label }
min={ min === -Infinity ? undefined : min }
max={ max === Infinity ? undefined : max }
min={ min === -Infinity ? undefined : min }
ref={ mergedRef }
required={ required }
step={ step }
Expand Down

0 comments on commit 4a6c455

Please sign in to comment.