Skip to content

Commit

Permalink
style: clearer liquidated label
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakMooney committed May 30, 2024
1 parent bf9e652 commit e0d842e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/vault/VaultStats.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,13 @@ const VaultStats = ({
</div>
))}
<div className="w-full px-1 mt-4">
<VaultHealth currentVault={currentVault}/>
{currentVault.status.liquidated ? (
<Typography variant="h1" className="text-error">
Vault Liquidated
</Typography>
) : (
<VaultHealth currentVault={currentVault}/>
)}
</div>
</div>
</>
Expand Down

0 comments on commit e0d842e

Please sign in to comment.