@wayke-se/components-react 3.3.0 → 3.3.2
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.
|
@@ -155,7 +155,9 @@ const SearchProvider = ({ url, apiKey, useQueryParamsFromUrl, pathRoute, childre
|
|
|
155
155
|
setQueryFilter({
|
|
156
156
|
searchParams: initialQueryParams,
|
|
157
157
|
});
|
|
158
|
-
|
|
158
|
+
if (useQueryParamsFromUrl) {
|
|
159
|
+
replaceState(`${window.location.pathname}${nextSearch}`);
|
|
160
|
+
}
|
|
159
161
|
}
|
|
160
162
|
setInitialize(true);
|
|
161
163
|
}
|
package/dist-web/index.js
CHANGED
|
@@ -7472,7 +7472,9 @@ const SearchProvider = ({ url, apiKey, useQueryParamsFromUrl, pathRoute, childre
|
|
|
7472
7472
|
setQueryFilter({
|
|
7473
7473
|
searchParams: initialQueryParams,
|
|
7474
7474
|
});
|
|
7475
|
-
|
|
7475
|
+
if (useQueryParamsFromUrl) {
|
|
7476
|
+
replaceState(`${window.location.pathname}${nextSearch}`);
|
|
7477
|
+
}
|
|
7476
7478
|
}
|
|
7477
7479
|
setInitialize(true);
|
|
7478
7480
|
}
|