@riosst100/pwa-marketplace 2.4.2 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riosst100/pwa-marketplace",
3
3
  "author": "riosst100@gmail.com",
4
- "version": "2.4.2",
4
+ "version": "2.4.3",
5
5
  "main": "src/index.js",
6
6
  "pwa-studio": {
7
7
  "targets": {
@@ -226,14 +226,14 @@ export const useFilterSidebar = props => {
226
226
  // on apply, write filter state to location
227
227
  useEffect(() => {
228
228
  if (isApplying) {
229
- // const nextSearch = getSearchFromState(
230
- // search,
231
- // filterKeys,
232
- // filterState
233
- // );
234
-
235
- // // write filter state to history
236
- // history.push({ pathname, search: nextSearch });
229
+ const nextSearch = getSearchFromState(
230
+ search,
231
+ filterKeys,
232
+ filterState
233
+ );
234
+
235
+ // write filter state to history
236
+ history.push({ pathname, search: nextSearch });
237
237
 
238
238
  // mark the operation as complete
239
239
  setIsApplying(false);