@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
|
@@ -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
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
//
|
|
236
|
-
|
|
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);
|