From e72eeda6a7b844bdecc2eb617614c7dfe04a9528 Mon Sep 17 00:00:00 2001 From: Peiman <25097709+Rickk137@users.noreply.github.com> Date: Sat, 28 Sep 2024 09:51:13 +0330 Subject: [PATCH] hide migration banner when debt is zero (#14) --- liquidity/ui/src/components/Migration/MigrationBanner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidity/ui/src/components/Migration/MigrationBanner.tsx b/liquidity/ui/src/components/Migration/MigrationBanner.tsx index dcf7a8d9..c85433b2 100644 --- a/liquidity/ui/src/components/Migration/MigrationBanner.tsx +++ b/liquidity/ui/src/components/Migration/MigrationBanner.tsx @@ -86,7 +86,7 @@ export const MigrationBanner: FC = ({ network, type = 'banner' }) => { accountId={accountId} /> - {!!data && data?.collateral.gt(0) && ( + {!!data && data?.collateral.gt(0) && data.debt.gt(0) && ( {type === 'banner' && ( <>