Skip to content

Commit

Permalink
Merge pull request #4 from the-standard/202405-vault-liquidated
Browse files Browse the repository at this point in the history
202405 vault liquidated
  • Loading branch information
ZakMooney authored May 30, 2024
2 parents 66ea6d2 + e0d842e commit e202325
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion src/components/vaults/VaultList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const VaultList = ({ vaults, vaultsLoading, tokenId }) => {
</td>
<td className="hidden md:table-cell">
{vault.status.liquidated ? (
<Typography variant="p">
<Typography variant="p" className="text-error">
Vault Liquidated
</Typography>
) : (
Expand Down

0 comments on commit e202325

Please sign in to comment.