Skip to content

Commit

Permalink
Refactor import path for NFTMarketplaceContext.js and update Pinata A…
Browse files Browse the repository at this point in the history
…PI keys
  • Loading branch information
adisuyash committed Oct 12, 2024
1 parent 1738694 commit 8645476
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions Context/NFTMarketplaceContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
8 changes: 4 additions & 4 deletions components/AccountPage/Form/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Form = () => {
<label htmlFor="name">Username</label>
<input
type="text"
placeholder="shoaib bhai"
placeholder="Itachi"
className={Style.Form_box_input_userName}
/>
</div>
Expand Down Expand Up @@ -64,7 +64,7 @@ const Form = () => {
<div className={Style.Form_box_input_box_icon}>
<TiSocialFacebook />
</div>
<input type="text" placeholder="http://shoaib" />
<input type="text" placeholder="http://itachionchain.co" />
</div>
</div>
<div className={Style.Form_box_input}>
Expand All @@ -73,7 +73,7 @@ const Form = () => {
<div className={Style.Form_box_input_box_icon}>
<TiSocialTwitter />
</div>
<input type="text" placeholder="http://shoaib" />
<input type="text" placeholder="http://itachionchain.co" />
</div>
</div>
<div className={Style.Form_box_input}>
Expand All @@ -82,7 +82,7 @@ const Form = () => {
<div className={Style.Form_box_input_box_icon}>
<TiSocialInstagram />
</div>
<input type="text" placeholder="http://shoaib" />
<input type="text" placeholder="http://itachionchain.co" />
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/NFTDetailsPage/NFTTabs/NFTTabs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const NFTTabs = ({ dataTab, icon }) => {
/>
<div className={Style.NFTTabs_box_info}>
<span>
Offer by $770 by <span>Shoaib Bhai</span>
Offer by $770 by <span>Itachi</span>
{icon}
</span>

Expand Down
2 changes: 1 addition & 1 deletion components/NavBar/Profile/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Profile = ({ currentAccount }) => {
/>

<div className={Style.profile_account_info}>
<p>Shoaib Bhai</p>
<p>Dony Herrera</p>
<small>{currentAccount.slice(0, 18)}..</small>
</div>
</div>
Expand Down

0 comments on commit 8645476

Please sign in to comment.