post update hotfixes (#580)

* fix: fixed showing 0 on farm page if no desposited vaults

* fix: chnage USDC’s name to Noble
This commit is contained in:
Linkie Link 2023-10-24 17:22:50 +02:00 committed by GitHub
parent abd36bc502
commit 6415b55cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -52,10 +52,12 @@ function Content() {
return ( return (
<> <>
<VaultUnlockBanner vaults={unlockedVaults} /> <VaultUnlockBanner vaults={unlockedVaults} />
{deposited.length && ( {deposited.length > 0 && (
<DepositedVaultsTable data={deposited as DepositedVault[]} isLoading={false} /> <DepositedVaultsTable data={deposited as DepositedVault[]} isLoading={false} />
)} )}
{available.length && <AvailableVaultsTable data={available as Vault[]} isLoading={false} />} {available.length > 0 && (
<AvailableVaultsTable data={available as Vault[]} isLoading={false} />
)}
</> </>
) )
} }

View File

@ -137,7 +137,7 @@ export const ASSETS: Asset[] = [
}, },
{ {
symbol: 'USDC', symbol: 'USDC',
name: 'USDC', name: 'Noble',
id: 'USDC', id: 'USDC',
denom: denom:
ENV.NETWORK === NETWORK.TESTNET ENV.NETWORK === NETWORK.TESTNET