From abdaab58f00fab948f56bbdaee211414b3e771b9 Mon Sep 17 00:00:00 2001 From: carl Date: Thu, 27 Jun 2024 21:33:16 +0300 Subject: [PATCH] fix: remove extra div, ref leather-io/issues#5469 --- .../bitcoin/brc20-token-asset-list/brc20-token-asset-list.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/features/asset-list/bitcoin/brc20-token-asset-list/brc20-token-asset-list.tsx b/src/app/features/asset-list/bitcoin/brc20-token-asset-list/brc20-token-asset-list.tsx index e67ac87ec9d..4b9ee9b36a7 100644 --- a/src/app/features/asset-list/bitcoin/brc20-token-asset-list/brc20-token-asset-list.tsx +++ b/src/app/features/asset-list/bitcoin/brc20-token-asset-list/brc20-token-asset-list.tsx @@ -42,6 +42,7 @@ export function Brc20TokenAssetList({ tokens, variant }: Brc20TokenAssetListProp }); } + if (!tokens.length) return null; return ( {tokens.map(token => (