diff --git a/ui/shared/nft/NftMedia.tsx b/ui/shared/nft/NftMedia.tsx
index ace164692a..51dd03b6e5 100644
--- a/ui/shared/nft/NftMedia.tsx
+++ b/ui/shared/nft/NftMedia.tsx
@@ -47,6 +47,10 @@ const NftMedia = ({ imageUrl, animationUrl, className, isLoading, withFullscreen
const { isOpen, onOpen, onClose } = useDisclosure();
const content = (() => {
+ if (isLoading) {
+ return null;
+ }
+
if (!mediaInfo || isLoadingError) {
const styleProps = withFullscreen ? {} : mediaStyleProps;
return ;
@@ -78,7 +82,7 @@ const NftMedia = ({ imageUrl, animationUrl, className, isLoading, withFullscreen
})();
const modal = (() => {
- if (!mediaInfo || !withFullscreen) {
+ if (!mediaInfo || !withFullscreen || isLoading) {
return null;
}
diff --git a/ui/token/TokenInventory.tsx b/ui/token/TokenInventory.tsx
index dce3a726f6..bbd1e264db 100644
--- a/ui/token/TokenInventory.tsx
+++ b/ui/token/TokenInventory.tsx
@@ -68,7 +68,7 @@ const TokenInventory = ({ inventoryQuery, tokenQuery, ownerFilter }: Props) => {
>
{ items.map((item, index) => (