Skip to content

Commit

Permalink
hide migration banner when debt is zero (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickk137 authored Sep 28, 2024
1 parent 9f3a4ee commit e72eeda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liquidity/ui/src/components/Migration/MigrationBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const MigrationBanner: FC<Props> = ({ network, type = 'banner' }) => {
accountId={accountId}
/>

{!!data && data?.collateral.gt(0) && (
{!!data && data?.collateral.gt(0) && data.debt.gt(0) && (
<Fade in>
{type === 'banner' && (
<>
Expand Down

0 comments on commit e72eeda

Please sign in to comment.