Skip to content

Commit

Permalink
fix: replace error state
Browse files Browse the repository at this point in the history
  • Loading branch information
june07 committed Jan 11, 2022
1 parent 6415882 commit 39ebc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/wallet/NFTBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const NFTBox = ({ tokenDetails }) => {
{
mediaUrl.match(/\.webm$/i)
? <video poster={FailedToLoad} muted={true} loop controls { ...videoProps }>
<source src={`mediaUrl`} type="video/webm" />
<source src={mediaUrl} type="video/webm" />
<img src={FailedToLoad} alt='NFT' />
</video>
: <img src={mediaUrl} alt='NFT' onError={(e) => {
Expand Down

0 comments on commit 39ebc77

Please sign in to comment.