From 7df020dcacbc83bf04f3a64adeaf6d158214e9bd Mon Sep 17 00:00:00 2001 From: tomasklim Date: Mon, 28 Oct 2024 20:54:21 +0100 Subject: [PATCH] chore(suite): table components --- .../AssetsView/AssetTable/AssetTable.tsx | 2 +- .../src/views/dashboard/AssetsView/AssetsView.tsx | 2 +- .../wallet/receive/components/UsedAddresses.tsx | 4 ++-- .../tokens/common/TokensTable/TokensTable.tsx | 15 ++++----------- 4 files changed, 8 insertions(+), 15 deletions(-) diff --git a/packages/suite/src/views/dashboard/AssetsView/AssetTable/AssetTable.tsx b/packages/suite/src/views/dashboard/AssetsView/AssetTable/AssetTable.tsx index 27d31adeb3e..3e914835210 100644 --- a/packages/suite/src/views/dashboard/AssetsView/AssetTable/AssetTable.tsx +++ b/packages/suite/src/views/dashboard/AssetsView/AssetTable/AssetTable.tsx @@ -26,7 +26,7 @@ export const AssetTable = ({ assetsData, assetsFiatBalances, }: AssetTableProps) => ( - +
diff --git a/packages/suite/src/views/dashboard/AssetsView/AssetsView.tsx b/packages/suite/src/views/dashboard/AssetsView/AssetsView.tsx index 91e03616488..ebb110b579e 100644 --- a/packages/suite/src/views/dashboard/AssetsView/AssetsView.tsx +++ b/packages/suite/src/views/dashboard/AssetsView/AssetsView.tsx @@ -202,7 +202,7 @@ export const AssetsView = () => { )} ) : ( - + DEFAULT_LIMIT; return ( - + -
+
diff --git a/packages/suite/src/views/wallet/tokens/common/TokensTable/TokensTable.tsx b/packages/suite/src/views/wallet/tokens/common/TokensTable/TokensTable.tsx index bae374c0ae0..440e69dc64f 100644 --- a/packages/suite/src/views/wallet/tokens/common/TokensTable/TokensTable.tsx +++ b/packages/suite/src/views/wallet/tokens/common/TokensTable/TokensTable.tsx @@ -45,16 +45,12 @@ export const TokensTable = ({ return ( {tokensWithBalance.length === 0 && tokensWithoutBalance.length === 0 && searchQuery ? ( - + ) : (
- setIsZeroBalanceOpen(!isZeroBalanceOpen)} - isHighlightedOnHover={false} - > + setIsZeroBalanceOpen(!isZeroBalanceOpen)}> - +