@sledge-app/react-instant-search 0.0.49 → 0.0.50
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 +2 -1
- 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 -2
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/package.json +1 -1
|
@@ -2640,7 +2640,7 @@ const SearchIconWidgetPopup = () => {
|
|
|
2640
2640
|
] }) });
|
|
2641
2641
|
};
|
|
2642
2642
|
const SearchResultWidget$1 = "";
|
|
2643
|
-
const SearchResultWidget = (props) => {
|
|
2643
|
+
const SearchResultWidget = React__default.memo((props) => {
|
|
2644
2644
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
2645
2645
|
const { isRenderApp, isJsVersion } = React__default.useContext(SledgeContext);
|
|
2646
2646
|
const { layoutType = "default", query, data, children, onAfterAddToCart, onAfterAddWishlist, onAfterRemoveWishlist, onAfterRenderProduct } = props;
|
|
@@ -3132,7 +3132,7 @@ const SearchResultWidget = (props) => {
|
|
|
3132
3132
|
searchResultContainerRef
|
|
3133
3133
|
})
|
|
3134
3134
|
] });
|
|
3135
|
-
};
|
|
3135
|
+
});
|
|
3136
3136
|
const ResultProduct = (props) => {
|
|
3137
3137
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
|
|
3138
3138
|
const {
|