From db75073420678eef4d7aa44d972e0ef2418272de Mon Sep 17 00:00:00 2001 From: 0age <37939117+0age@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:37:21 -0800 Subject: [PATCH] improve UI with no wrapped tokens --- frontend/src/components/BalanceDisplay.tsx | 336 +++++++++++---------- frontend/src/hooks/useBalances.ts | 11 +- frontend/src/hooks/useResourceLocks.ts | 4 +- 3 files changed, 180 insertions(+), 171 deletions(-) diff --git a/frontend/src/components/BalanceDisplay.tsx b/frontend/src/components/BalanceDisplay.tsx index b1dd817..3897b62 100644 --- a/frontend/src/components/BalanceDisplay.tsx +++ b/frontend/src/components/BalanceDisplay.tsx @@ -38,22 +38,6 @@ export function BalanceDisplay({ if (!isConnected) return null; - if (isLoading || resourceLocksLoading) { - return ( -
+ Unable to locate any resource locks that use this allocator. Deposit + ETH or ERC20 tokens to get started. +
+