@sledge-app/react-instant-search 0.0.57 → 0.0.58
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.
|
@@ -1230,11 +1230,9 @@ const Rating = (props) => {
|
|
|
1230
1230
|
React__default.useEffect(() => {
|
|
1231
1231
|
if (!(isRenderApp == null ? void 0 : isRenderApp.productReview))
|
|
1232
1232
|
return;
|
|
1233
|
+
console.log("triggered add product review");
|
|
1233
1234
|
if (typeof window !== "undefined") {
|
|
1234
1235
|
window.sledgeProductReviewRatingUpdate = () => {
|
|
1235
|
-
var _a2, _b;
|
|
1236
|
-
if (((_b = (_a2 = triggerRenderMultipleComponent == null ? void 0 : triggerRenderMultipleComponent.productReview) == null ? void 0 : _a2.rating) == null ? void 0 : _b.value) !== productId)
|
|
1237
|
-
return;
|
|
1238
1236
|
handleProductRatingInfo();
|
|
1239
1237
|
};
|
|
1240
1238
|
}
|