Skip to content

Commit

Permalink
enable ssr
Browse files Browse the repository at this point in the history
  • Loading branch information
hiagolcm committed Sep 15, 2023
1 parent 49ff85d commit 141ec3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Fixed
- Enable ssr on search-result.

## [3.126.0] - 2023-09-15

### Added
Expand Down
2 changes: 0 additions & 2 deletions react/components/SearchQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ const useQueries = (
getSettings('vtex.store')?.enableFiltersFetchOptimization

const productSearchResult = useQuery(productSearchQuery, {
ssr: false,
skip: !canUseDOM,
variables: {
...variables,
variant: getCookie('sp-variant'),
Expand Down

0 comments on commit 141ec3c

Please sign in to comment.