Skip to content

Commit

Permalink
fix: filters in search and facets wiring
Browse files Browse the repository at this point in the history
  • Loading branch information
lauramargar committed Oct 11, 2023
1 parent 8d98cc5 commit 3290d1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/x-components/src/x-modules/facets/wiring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export const setSelectedFiltersFromPreview = wireCommit(
*/
export const setFiltersFromHistoryQueries = wireCommit(
'setFilters',
({ eventPayload: { filters } }) => filters
({ eventPayload: { selectedFilters } }) => selectedFilters
);

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/x-components/src/x-modules/search/wiring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export const setSearchSelectedFiltersFromPreview = wireCommit(
*/
export const setSearchSelectedFiltersFromPreviewable = wireCommit(
'setSelectedFilters',
({ eventPayload: { filters } }) => filters
({ eventPayload: { selectedFilters } }) => selectedFilters
);

/**
Expand Down

0 comments on commit 3290d1f

Please sign in to comment.