@sledge-app/react-instant-search 0.0.115 → 0.0.116

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.
@@ -3436,12 +3436,10 @@ const SearchResultWidget = (props) => {
3436
3436
  React__default.useEffect(() => {
3437
3437
  if (!isRenderAppInstantSearch)
3438
3438
  return;
3439
+ console.log("isRenderAppInstantSearch");
3439
3440
  const searchParams2 = new URLSearchParams(document.location.search);
3440
3441
  setKeyword((searchParams2 == null ? void 0 : searchParams2.get(queryKeyword)) || "");
3441
3442
  handleSettings(localStorage.getItem(LOCAL_STORAGE_KEY.INSTANT_SEARCH_SETTING) || null);
3442
- window.addEventListener("popstate", (event) => {
3443
- console.log(`location: ${document.location}, state: ${JSON.stringify(event.state)}`);
3444
- });
3445
3443
  }, [isRenderAppInstantSearch]);
3446
3444
  React__default.useEffect(() => {
3447
3445
  if (Boolean(previousState && (previousState == null ? void 0 : previousState.keyword) !== keyword) && layoutType === "default") {