Skip to content

Commit 64e5448

Browse files
committed
fix a bug
1 parent bd714e5 commit 64e5448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/nft/[id].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const NFTDetail: React.FC<{}> = () => {
5555
}, [nft]);
5656

5757
React.useEffect(() => {
58-
if (image && image === '/error' && fallBackImage && fallBackImage === '/error') {
58+
if (image || image === '/error' || fallBackImage || fallBackImage === '/error') {
5959
setIsLoaded(true);
6060
}
6161
}, [image, fallBackImage]);

0 commit comments

Comments
 (0)