From 17b3135d678f397978bad2fbae24866dc9625d2d Mon Sep 17 00:00:00 2001 From: AnotherDev Date: Mon, 10 Jun 2024 19:47:46 -0500 Subject: [PATCH 1/2] chore: change to pinata gateway --- .env.development | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.development b/.env.development index 321bb21cf..51053644a 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ VITE_ENV=development VITE_DOMAIN=localhost:8080 -VITE_IPFS_NODE=ipfs.io +VITE_IPFS_NODE=gateway.pinata.cloud VITE_BLOCKNATIVE_DAPP_ID=032e2fb8-6c66-46a5-bf1c-a049ac7eded2 VITE_FATHOM_SITE_ID=xxx VITE_COINGECKO_API_KEY="" From 00f616e926b255cb6637e37900a557f691ee72e9 Mon Sep 17 00:00:00 2001 From: AnotherDev Date: Sun, 30 Jun 2024 19:24:22 -0500 Subject: [PATCH 2/2] chore: remove unnecessary assertion --- .../contextual/pages/dashboard/Cards/RefiProfileCard.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue b/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue index 594f87c94..b2e15610c 100644 --- a/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue +++ b/src/components/contextual/pages/dashboard/Cards/RefiProfileCard.vue @@ -27,9 +27,7 @@ const { const { isWalletReady } = useWeb3(); const nftImageSrc = computed(() => NFTData.value?.imageData); -const hasNFT = computed( - () => !!NFTData.value?.imageData && isWalletReady.value -); +const hasNFT = computed(() => !!NFTData.value && isWalletReady.value); const isAbleToUpgradeNFT = computed(() => NFTData?.value?.isAbleToUpgrade[0]);