We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd714e5 commit 64e5448Copy full SHA for 64e5448
pages/nft/[id].tsx
@@ -55,7 +55,7 @@ const NFTDetail: React.FC<{}> = () => {
55
}, [nft]);
56
57
React.useEffect(() => {
58
- if (image && image === '/error' && fallBackImage && fallBackImage === '/error') {
+ if (image || image === '/error' || fallBackImage || fallBackImage === '/error') {
59
setIsLoaded(true);
60
}
61
}, [image, fallBackImage]);
0 commit comments