Skip to content

Commit

Permalink
fix(misc): misc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjithkumar017 committed Sep 17, 2021
1 parent de945b3 commit 84d7270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/products/ProductsContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ProductsContainer extends React.PureComponent {
productItemComponent,
productIdAttribute,
attributesMap = {},
showVariants,
showVariants = false,
groupBy,
variantAttributesMap = {},
showSwatches,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getStateString.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const getStateString = function () {
const { productType } = this.options;
const q = this.getNewUrlState(true).split(
const q = this.state.currentUrl.split(
`${productType.toLocaleLowerCase()}?`
)[1];
this.state.urlState = q;
Expand Down

0 comments on commit 84d7270

Please sign in to comment.