Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed May 22, 2024
1 parent 3203c48 commit 2bbcf50
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export default function useSpacingSizes() {

const sizesLength =
zeroSize.length +
( customSizes?.length ?? 0 ) +
( themeSizes?.length ?? 0 ) +
( defaultSizes?.length ?? 0 );
customSizes.length +
themeSizes.length +
defaultSizes.length;

const maybeUnsetSize =
sizesLength > RANGE_CONTROL_MAX_SIZE
Expand Down

0 comments on commit 2bbcf50

Please sign in to comment.