File tree 3 files changed +5
-5
lines changed 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import Link from "next/link" ;
2
2
3
- export const MintbaseNFT = ( { post , page} ) => {
3
+ export const NFTCard = ( { post , page} ) => {
4
4
return (
5
5
< >
6
6
< Link
Original file line number Diff line number Diff line change 1
1
import { useEffect , useState } from "react" ;
2
- import { MintbaseNFT } from "./.. /../components/MintBaseNFT " ;
2
+ import { NFTCard } from ".. /../components/NFTCard " ;
3
3
4
4
const CreateCollection = ( ) => {
5
5
const [ nftData , setNftData ] = useState ( ) ;
@@ -85,7 +85,7 @@ const CreateCollection = () => {
85
85
< h2 > Sorry!... No NFTs Listed Now</ h2 >
86
86
) : (
87
87
nftData . map ( ( data , id ) => {
88
- return < MintbaseNFT post = { data } page = { "create" } key = { id } /> ;
88
+ return < NFTCard post = { data } page = { "create" } key = { id } /> ;
89
89
} )
90
90
) }
91
91
</ div >
Original file line number Diff line number Diff line change 1
1
import { Wallet , Network , Chain } from "mintbase" ;
2
2
import { useState , useEffect , useRef } from "react" ;
3
- import { MintbaseNFT } from "./../../components/MintBaseNFT" ;
3
+ import { NFTCard } from "./../../components/MintBaseNFT" ;
4
4
5
5
const ListPage = ( ) => {
6
6
const [ isLoading , setIsLoading ] = useState ( true ) ;
@@ -106,7 +106,7 @@ const ListPage = () => {
106
106
) : (
107
107
nftList . map ( ( nftData , id ) => {
108
108
return (
109
- < MintbaseNFT post = { nftData } page = { "list" } key = { id } />
109
+ < NFTCard post = { nftData } page = { "list" } key = { id } />
110
110
) ;
111
111
} )
112
112
) }
You can’t perform that action at this time.
0 commit comments