Skip to content

Commit

Permalink
Fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
iaronaraujo committed Jan 13, 2020
1 parent 6d3d776 commit 5c9c725
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]
### Fixed
- Problem that caused the product impression event to be sent for every event on the shelf, including the ones that were't seen yet.
- Problem that caused the product impression event to be sent for every item on the shelf, including the ones that were't seen yet.

### Changed
- The `ProductImpression` is now handled by the `product-context-list` app.
Expand Down
12 changes: 2 additions & 10 deletions react/Shelf.js
Expand Up @@ -106,16 +106,8 @@ const options = {
}) => ({
ssr: true,
variables: {
...(category != null
? {
category: category.toString(),
}
: {}),
...(collection != null
? {
collection: collection.toString(),
}
: {}),
...(category && { category: category.toString() }),
...(collection && { collection: collection.toString() }),
specificationFilters: specificationFilters.map(parseFilters),
orderBy,
from: 0,
Expand Down

0 comments on commit 5c9c725

Please sign in to comment.