Skip to content

Commit

Permalink
Merge ceb0de8 into dd696eb
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos ewbank committed Mar 13, 2020
2 parents dd696eb + ceb0de8 commit ce7981b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Validation added at `shouldAddToCart` prop.

## [2.52.2] - 2020-03-11
### Removed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const ProductSummaryBuyButton = ({
available={isAvailable}
isOneClickBuy={isOneClickBuy}
customToastURL={customToastURL}
shouldAddToCart={!shouldBeALink}
shouldAddToCart={selectedItem || !shouldBeALink}
>
<IOMessage id={buyButtonText} />
</BuyButton>
Expand Down

0 comments on commit ce7981b

Please sign in to comment.