mirror of
https://github.com/vercel/commerce.git
synced 2025-05-12 04:37:51 +00:00
fix: disabled button classes when selectedVariantId is defined are not being set
This commit is contained in:
parent
887d437795
commit
482ec1dbe3
@ -52,7 +52,7 @@ function SubmitButton({
|
||||
aria-disabled={pending}
|
||||
className={clsx(buttonClasses, {
|
||||
'hover:opacity-90': true,
|
||||
disabledClasses: pending
|
||||
[disabledClasses]: pending
|
||||
})}
|
||||
>
|
||||
<div className="absolute left-0 ml-4">
|
||||
|
Loading…
x
Reference in New Issue
Block a user