nvis-fe-cms-libs 1.1.18 → 1.1.19

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.
@@ -4522,13 +4522,13 @@ const FaqSection = ({ data, t, isDarkMode }) => {
4522
4522
  ` })
4523
4523
  ] });
4524
4524
  };
4525
- const PageHighlightSection = ({ data, t, isDarkMode }) => {
4525
+ const PageHighlightSection = ({ data, t, isDarkMode, imageBaseUrl = "" }) => {
4526
4526
  var _a;
4527
4527
  const [activeTab, setActiveTab] = useState(0);
4528
4528
  const rawData = ((_a = data == null ? void 0 : data.sectionDataBindingItems) == null ? void 0 : _a.filter((item) => item == null ? void 0 : item.data).map((item) => item.data)) || [];
4529
4529
  const getImageUrl = (imagePath) => {
4530
4530
  if (imagePath) {
4531
- return `${void 0}${imagePath}`;
4531
+ return `${imageBaseUrl}${imagePath}`;
4532
4532
  }
4533
4533
  return null;
4534
4534
  };