nestiq-component-library 1.1.155 → 1.1.157

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.
@@ -77,6 +77,13 @@ export default function PropertyCard(props: PopupProps) {
77
77
  };
78
78
  const handleSharePopUp = () => {
79
79
  setSharePopUp(true);
80
+ const path = document.querySelector(
81
+ "#root > div:nth-child(3) > div:nth-child(3) > div.d-flex.px-lg-5.px-md-3.flex-column.col-12.filter-section-wrapper.mx-auto.mt-3 > div.mt-2.d-flex.flex-column.gap-4 > div:nth-child(1) > div:nth-child(3) > div > div > div.col-10.mx-auto > div > input"
82
+ );
83
+ console.log(path);
84
+ if (path) {
85
+ path.innerHTML = window.location.href + props.property.id;
86
+ }
80
87
  };
81
88
 
82
89
  const handleArrowClickInMainImage = (direction: string) => {
@@ -339,21 +346,6 @@ export default function PropertyCard(props: PopupProps) {
339
346
  </div>
340
347
  )}
341
348
  </div>
342
- {/* {floorPlan && (
343
- <FloorPlanPopup
344
- contentUrl={props.floorPlanUrl}
345
- onCloseClick={() => setFloorPlan(false)}
346
- />
347
- )} */}
348
- {/* {messagePopUp && (
349
- <MessagePopUp
350
- onCloseClick={() => setMessagPopUp(false)}
351
- sellerFirstName={props.userData?.firstname}
352
- sellerLastName={props.userData?.lastname}
353
- themesList={props.themesList}
354
- onSubmit={props.onMessagePopupSubmitClick}
355
- />
356
- )} */}
357
349
  {sharePopUp && <SharePopup onClick={() => setSharePopUp(false)} />}
358
350
  </div>
359
351
  );