Skip to content

Commit

Permalink
added last code
Browse files Browse the repository at this point in the history
  • Loading branch information
rubelux committed Oct 18, 2023
1 parent e21d4b8 commit 0cc43f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/HomeParts/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ const ProjectCard = ({ seasonIsActive, project, index, totalSales, matchFundPool
</Artist>
)}
<Img
src={`${latestArtifact.artwork?.replace('/upload', '/upload/c_limit,w_1000').replace('.png', '.jpg')}`}
src={`${latestArtifact.artwork?.replace('.png', '.jpg')}`}
onClick={() =>
setVisibleModalWithAttrs('media', {
videoFile: latestArtifact.video,
imageFile: latestArtifact.artwork?.replace('/upload', '/upload/c_limit,w_1000').replace('.png', '.jpg'),
imageFile: latestArtifact.artwork?.replace('.png', '.jpg'),
})
}
/>
Expand Down

0 comments on commit 0cc43f9

Please sign in to comment.