Skip to content
Prev Previous commit
Next Next commit
Fixup
  • Loading branch information
mirka committed Jun 23, 2023
commit 400a02b494123f2bf2e2fe67242ae5ab9b8a73c8
2 changes: 1 addition & 1 deletion packages/components/src/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function useDeprecatedProps( {
let computedVariant = variant;

if ( isSmall ) {
computedSize = 'small';
computedSize ??= 'small';
}

if ( isPrimary ) {
Expand Down