mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-04-29 05:05:32 +08:00
fix: missing inscriptoin frame, closes #3520
This commit is contained in:
@@ -17,7 +17,12 @@ export function CollectibleImage(props: CollectibleImageProps) {
|
||||
const [isError, setIsError] = useState(false);
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
|
||||
if (isError) return <ImageUnavailable />;
|
||||
if (isError)
|
||||
return (
|
||||
<CollectibleItemLayout collectibleTypeIcon={<OrdinalMinimalIcon />} {...rest}>
|
||||
<ImageUnavailable />
|
||||
</CollectibleItemLayout>
|
||||
);
|
||||
|
||||
return (
|
||||
<CollectibleItemLayout collectibleTypeIcon={<OrdinalMinimalIcon />} {...rest}>
|
||||
|
||||
Reference in New Issue
Block a user