Skip to content

Commit

Permalink
Update ArtDetails.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jilt authored Nov 29, 2023
1 parent 7fad97a commit f4f97ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ArtDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default function ArtDetails(props) {
}
);
setSales(saleTokens);
console.log(meta.media);
};

const loadNewMedia = async (cond) => {
Expand Down Expand Up @@ -78,7 +77,7 @@ export default function ArtDetails(props) {
<Row>
<Col className="card-w">
<Card className="card inset">
<Card.Img variant="top" src={ mediaResult } />
<Card.Img variant="top" src={ loadNewMedia( meta.media ) } />
<Card.Body className="d-grid gap-2">
<Card.Title className="text-center">{meta.title}</Card.Title>
<Card.Text className="text-center"><b>{meta.extra}</b><br />Owner: {nft.owner_id}
Expand Down

0 comments on commit f4f97ad

Please sign in to comment.