@sledge-app/react-instant-search 0.0.121 → 0.0.122
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/dist/components/SearchResultWidget/SearchResultWidget.d.ts.map +1 -1
- package/dist/sledge-react-instant-search.cjs +1 -1
- package/dist/sledge-react-instant-search.cjs.map +1 -1
- package/dist/sledge-react-instant-search.js +2 -4
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/package.json +1 -1
|
@@ -3471,10 +3471,8 @@ const SearchResultWidget = (props) => {
|
|
|
3471
3471
|
if (!valueRenderInstantSearchResult)
|
|
3472
3472
|
return;
|
|
3473
3473
|
if (triggerRenderInstantSearchResult)
|
|
3474
|
-
triggerRenderInstantSearchResult(
|
|
3475
|
-
|
|
3476
|
-
setKeyword((searchParams2 == null ? void 0 : searchParams2.get(queryKeyword)) || "");
|
|
3477
|
-
console.log("valueRenderInstantSearch", valueRenderInstantSearchResult, document.location.search, searchParams2 == null ? void 0 : searchParams2.get(queryKeyword));
|
|
3474
|
+
triggerRenderInstantSearchResult("");
|
|
3475
|
+
setKeyword(valueRenderInstantSearchResult);
|
|
3478
3476
|
}, [valueRenderInstantSearchResult]);
|
|
3479
3477
|
React__default.useEffect(() => {
|
|
3480
3478
|
if (Boolean(previousState && (previousState == null ? void 0 : previousState.keyword) !== keyword) && layoutType === "default") {
|