diff --git a/packages/adena-extension/src/components/molecules/nft-card-image/nft-card-image.tsx b/packages/adena-extension/src/components/molecules/nft-card-image/nft-card-image.tsx index 4d04aea9..d6cad981 100644 --- a/packages/adena-extension/src/components/molecules/nft-card-image/nft-card-image.tsx +++ b/packages/adena-extension/src/components/molecules/nft-card-image/nft-card-image.tsx @@ -12,11 +12,6 @@ export interface NFTCardImageProps { const NFTCardImage: React.FC = ({ isFetched, image, hasBadge = false }) => { const [hasError, setHasError] = useState(false); - const [loaded, setLoaded] = useState(false); - - const handleLoad = (): void => { - setLoaded(true); - }; const handleError = (): void => { setHasError(true); @@ -30,7 +25,7 @@ const NFTCardImage: React.FC = ({ isFetched, image, hasBadge ); } - if (!image || !loaded || hasError) { + if (!image || hasError) { return ( empty image @@ -42,8 +37,7 @@ const NFTCardImage: React.FC = ({ isFetched, image, hasBadge nft image