Skip to content

Commit 88f2265

Browse files
committed
Changed Card name
1 parent e0b6f97 commit 88f2265

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

components/mintBaseNFT.jsx renamed to components/NFTCard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Link from "next/link";
22

3-
export const MintbaseNFT = ({ post , page}) => {
3+
export const NFTCard = ({ post , page}) => {
44
return (
55
<>
66
<Link

pages/create/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from "react";
2-
import { MintbaseNFT } from "./../../components/MintBaseNFT";
2+
import { NFTCard } from "../../components/NFTCard";
33

44
const CreateCollection = () => {
55
const [nftData, setNftData] = useState();
@@ -85,7 +85,7 @@ const CreateCollection = () => {
8585
<h2>Sorry!... No NFTs Listed Now</h2>
8686
) : (
8787
nftData.map((data, id) => {
88-
return <MintbaseNFT post={data} page={"create"} key={id} />;
88+
return <NFTCard post={data} page={"create"} key={id} />;
8989
})
9090
)}
9191
</div>

pages/list/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Wallet, Network, Chain } from "mintbase";
22
import { useState, useEffect, useRef } from "react";
3-
import { MintbaseNFT } from "./../../components/MintBaseNFT";
3+
import { NFTCard } from "./../../components/MintBaseNFT";
44

55
const ListPage = () => {
66
const [isLoading, setIsLoading] = useState(true);
@@ -106,7 +106,7 @@ const ListPage = () => {
106106
) : (
107107
nftList.map((nftData, id) => {
108108
return (
109-
<MintbaseNFT post={nftData} page={"list"} key={id} />
109+
<NFTCard post={nftData} page={"list"} key={id} />
110110
);
111111
})
112112
)}

0 commit comments

Comments
 (0)