Skip to content
Prev Previous commit
Merge branch 'master' into update/buttons-deprecated-isdefault
  • Loading branch information
oskosk committed Mar 7, 2022
commit bb8fe46d4ebfe433b249ea5667c4445e7029fe2c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const ProductDetailButton = ( { children, className, href, isLoading, onClick, i
className={ className }
href={ href }
variant={ isPrimary ? 'primary' : 'secondary' }
disabled={ isLoading }
>
{ isLoading ? <Spinner /> : children }
</Button>
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.