From 8645476d67ae97b79ceba43c66bf4f52dfd776ef Mon Sep 17 00:00:00 2001 From: adisuyash Date: Sat, 12 Oct 2024 18:50:59 +0530 Subject: [PATCH] Refactor import path for NFTMarketplaceContext.js and update Pinata API keys --- Context/NFTMarketplaceContext.js | 1 + components/AccountPage/Form/Form.jsx | 8 ++++---- components/NFTDetailsPage/NFTTabs/NFTTabs.jsx | 2 +- components/NavBar/Profile/Profile.jsx | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Context/NFTMarketplaceContext.js b/Context/NFTMarketplaceContext.js index 3b783be..5588a47 100644 --- a/Context/NFTMarketplaceContext.js +++ b/Context/NFTMarketplaceContext.js @@ -198,6 +198,7 @@ export const NFTMarketplaceProvider = ({ children }) => { const fetchNFTs = async () => { try { const address = await checkIfWalletConnected(); + console.log("Address after connected wallet: ", address); if (address) { const web3Modal = new Web3Modal(); const connection = await web3Modal.connect(); diff --git a/components/AccountPage/Form/Form.jsx b/components/AccountPage/Form/Form.jsx index b1c91fa..8b1b9f3 100644 --- a/components/AccountPage/Form/Form.jsx +++ b/components/AccountPage/Form/Form.jsx @@ -20,7 +20,7 @@ const Form = () => { @@ -64,7 +64,7 @@ const Form = () => {
- +
@@ -73,7 +73,7 @@ const Form = () => {
- +
@@ -82,7 +82,7 @@ const Form = () => {
- +
diff --git a/components/NFTDetailsPage/NFTTabs/NFTTabs.jsx b/components/NFTDetailsPage/NFTTabs/NFTTabs.jsx index 1d28e30..f8ea67a 100644 --- a/components/NFTDetailsPage/NFTTabs/NFTTabs.jsx +++ b/components/NFTDetailsPage/NFTTabs/NFTTabs.jsx @@ -19,7 +19,7 @@ const NFTTabs = ({ dataTab, icon }) => { />
- Offer by $770 by Shoaib Bhai + Offer by $770 by Itachi {icon} diff --git a/components/NavBar/Profile/Profile.jsx b/components/NavBar/Profile/Profile.jsx index 7357a7e..86f80c9 100644 --- a/components/NavBar/Profile/Profile.jsx +++ b/components/NavBar/Profile/Profile.jsx @@ -23,7 +23,7 @@ const Profile = ({ currentAccount }) => { />
-

Shoaib Bhai

+

Dony Herrera

{currentAccount.slice(0, 18)}..