@sledge-app/react-instant-search 0.0.120 → 0.0.121
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.
|
@@ -3470,11 +3470,11 @@ const SearchResultWidget = (props) => {
|
|
|
3470
3470
|
React__default.useEffect(() => {
|
|
3471
3471
|
if (!valueRenderInstantSearchResult)
|
|
3472
3472
|
return;
|
|
3473
|
-
console.log("valueRenderInstantSearch", valueRenderInstantSearchResult);
|
|
3474
3473
|
if (triggerRenderInstantSearchResult)
|
|
3475
3474
|
triggerRenderInstantSearchResult(false);
|
|
3476
3475
|
const searchParams2 = new URLSearchParams(document.location.search);
|
|
3477
3476
|
setKeyword((searchParams2 == null ? void 0 : searchParams2.get(queryKeyword)) || "");
|
|
3477
|
+
console.log("valueRenderInstantSearch", valueRenderInstantSearchResult, document.location.search, searchParams2 == null ? void 0 : searchParams2.get(queryKeyword));
|
|
3478
3478
|
}, [valueRenderInstantSearchResult]);
|
|
3479
3479
|
React__default.useEffect(() => {
|
|
3480
3480
|
if (Boolean(previousState && (previousState == null ? void 0 : previousState.keyword) !== keyword) && layoutType === "default") {
|