Skip to content

Lesson 15: Unable to create an UI similar to Patrick's trailer about the NFT Marketplace #5911

Answered by alfaqi
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

We will change Typescript to Javascript
first instead of this

export interface UpdateListingModalProps {
    isVisible: boolean
    onClose: () => void
    nftMarketplaceAbi: object
    marketplaceAddress: string
    nftAddress: string
    tokenId: string
    imageURI: string | undefined
    currentPrice: number | undefined
}

const UpdateListingModal = ({
    isVisible,
    onClose,
    nftMarketplaceAbi,
    marketplaceAddress,
    nftAddress,
    tokenId,
    imageURI,
    currentPrice,
}: UpdateListingModalProps) => {

change to this

function UpdateListingModal({
    isVisible,
    onClose,
    nftMarketplaceAbi,
    marketplaceAddress,
    nftAddress,
    tokenId,
    imageURI,
    cu…

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
7 replies
@alfaqi
Comment options

@ghost
Comment options

@alfaqi
Comment options

@ghost
Comment options

@alfaqi
Comment options

Comment options

You must be logged in to vote
4 replies
@ghost
Comment options

@ghost
Comment options

@alfaqi
Comment options

@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant