diff --git a/package.json b/package.json
index 8f51cc18..d47e054a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "data-dex",
- "version": "1.18.11",
+ "version": "1.18.12",
"description": "The Itheum Data DEX enables you to trade your data using web3 tech",
"dependencies": {
"@chakra-ui/icons": "2.1.1",
@@ -11,7 +11,7 @@
"@itheum/sdk-mx-data-nft": "3.8.0-alpha.12",
"@itheum/sdk-mx-enterprise": "0.3.0",
"@multiversx/sdk-core": "13.14.2",
- "@multiversx/sdk-dapp": "npm:@bucurdavid/sdk-dapp-fork@3.1.0",
+ "@multiversx/sdk-dapp": "3.0.10",
"@peerme/sdk": "0.2.1",
"@sentry/react": "7.118.0",
"@tanstack/match-sorter-utils": "8.15.1",
diff --git a/src/components/ListDataNFTModal.tsx b/src/components/ListDataNFTModal.tsx
index 0a5be41e..4c50b88a 100644
--- a/src/components/ListDataNFTModal.tsx
+++ b/src/components/ListDataNFTModal.tsx
@@ -288,7 +288,7 @@ export default function ListDataNFTModal({ isOpen, onClose, sellerFee, nftData,
-
+
diff --git a/src/components/MarketplaceLowerCard.tsx b/src/components/MarketplaceLowerCard.tsx
index da7fed1e..164443e4 100644
--- a/src/components/MarketplaceLowerCard.tsx
+++ b/src/components/MarketplaceLowerCard.tsx
@@ -49,7 +49,6 @@ const MarketplaceLowerCard: FC = ({ extendedOffer: of
<>
-
diff --git a/src/components/MyListedDataLowerCard.tsx b/src/components/MyListedDataLowerCard.tsx
index 0cb37cbf..704289fb 100644
--- a/src/components/MyListedDataLowerCard.tsx
+++ b/src/components/MyListedDataLowerCard.tsx
@@ -278,7 +278,13 @@ const MyListedDataLowerCard: FC = ({ offer, nftMetad
-
+
@@ -349,7 +355,13 @@ const MyListedDataLowerCard: FC = ({ offer, nftMetad
-
+
@@ -396,7 +408,13 @@ const MyListedDataLowerCard: FC = ({ offer, nftMetad
-
+
diff --git a/src/components/NftMediaComponent.tsx b/src/components/NftMediaComponent.tsx
index 05cf12e1..34669eae 100644
--- a/src/components/NftMediaComponent.tsx
+++ b/src/components/NftMediaComponent.tsx
@@ -42,12 +42,26 @@ const NftMediaComponent: React.FC = (props) => {
openNftDetailsDrawer,
} = props;
- const media = imageUrls || nftMedia?.map((mediaObj) => mediaObj.url) || [DEFAULT_NFT_IMAGE];
const [imageIndex, setImageIndex] = useState(0);
const [switchedImageManually, setSwitchedImageManually] = useState(false);
const [nextImageIndex, setNextImageIndex] = useState(0);
const makeFlip = nextImageIndex !== imageIndex;
const isMobile = window.innerWidth <= 480;
+ let media: string[] = [];
+
+ // if they send both nftMedia and imageUrls, only use imageUrls first if nftMedia has a default issue (known issue in Private PRC)
+ if (nftMedia && imageUrls && nftMedia?.length > 0 && imageUrls?.length > 0) {
+ const nftMediaSentAndMainIsADefaultOne = Boolean(nftMedia?.find((mediaObj) => mediaObj.url.includes("default.png")));
+
+ if (nftMediaSentAndMainIsADefaultOne) {
+ media = imageUrls;
+ } else {
+ media = nftMedia?.map((mediaObj) => mediaObj.url);
+ }
+ } else {
+ // default to normal legacy logic
+ media = imageUrls || nftMedia?.map((mediaObj) => mediaObj.url) || [DEFAULT_NFT_IMAGE];
+ }
useEffect(() => {
if (autoSlide && media.length > 1 && !switchedImageManually) {
diff --git a/src/components/ProcureDataNFTModal.tsx b/src/components/ProcureDataNFTModal.tsx
index 8edfa369..ece71293 100644
--- a/src/components/ProcureDataNFTModal.tsx
+++ b/src/components/ProcureDataNFTModal.tsx
@@ -170,7 +170,6 @@ export default function ProcureDataNFTModal({
const isOnOfferPage = window.location.pathname.includes("/offer-");
const shouldUseCallbackRoute = isWebWallet && amount == offer.quantity && isOnOfferPage;
const callbackRoute = "/datanfts/wallet";
-
const { sessionId } = await marketContract.sendAcceptOfferEsdtTransaction(
offer.index,
paymentAmount.toFixed(),
@@ -243,7 +242,13 @@ export default function ProcureDataNFTModal({
-
+
diff --git a/src/components/ProcureDataNFTSuccessCTAModel.tsx b/src/components/ProcureDataNFTSuccessCTAModel.tsx
index 03bc10c3..bfd0b448 100644
--- a/src/components/ProcureDataNFTSuccessCTAModel.tsx
+++ b/src/components/ProcureDataNFTSuccessCTAModel.tsx
@@ -38,7 +38,13 @@ export default function ProcureDataNFTSuccessCTAModel({ isOpen, onClose, nftData
{nftData.tokenName}
-
+
)}
diff --git a/src/components/Sections/AppHeader.tsx b/src/components/Sections/AppHeader.tsx
index 3d71d831..13f6fd50 100644
--- a/src/components/Sections/AppHeader.tsx
+++ b/src/components/Sections/AppHeader.tsx
@@ -290,7 +290,7 @@ const AppHeader = ({ onShowConnectWalletModal, setMenuItem, handleLogout }: { on
{exploreRouterMenu.map((menu) => (