@@ -5,7 +5,7 @@ interface VaultCardProps {
55 name : string ;
66 symbol : string ;
77 totalAssets : bigint | undefined ;
8- userBalance : bigint | undefined ;
8+ userAssets : bigint | undefined ;
99 decimals : number | undefined ;
1010 assetDecimals : number ;
1111 href : string ;
@@ -18,7 +18,7 @@ export const VaultCard = ({
1818 name,
1919 symbol,
2020 totalAssets,
21- userBalance ,
21+ userAssets ,
2222 decimals,
2323 assetDecimals,
2424 href,
@@ -44,17 +44,21 @@ export const VaultCard = ({
4444
4545 < div className = "grid grid-cols-2 gap-2" >
4646 < div className = "bg-base-200 rounded-lg p-2" >
47- < p className = "text-xs text-base-content/60" > Total Assets</ p >
47+ < p className = "text-xs text-base-content/60" >
48+ < span className = "tooltip tooltip-top tooltip-accent" data-tip = "The total assets deposited in the vault" >
49+ Deposits
50+ </ span >
51+ </ p >
4852 < p className = "text-lg font-bold" > { isComingSoon ? "--" : formatAmount ( totalAssets , assetDecimals ) } </ p >
4953 < p className = "text-xs text-base-content/50" > { assetName } </ p >
5054 </ div >
5155
5256 < div className = "bg-base-200 rounded-lg p-2" >
5357 < p className = "text-xs text-base-content/60" > Your Balance</ p >
5458 < p className = "text-lg font-bold" >
55- { isComingSoon ? "--" : userBalance ? formatAmount ( userBalance , decimals ) : "0.00" }
59+ { isComingSoon ? "--" : userAssets ? formatAmount ( userAssets , decimals ) : "0.00" }
5660 </ p >
57- < p className = "text-xs text-base-content/50" > Shares </ p >
61+ < p className = "text-xs text-base-content/50" > { assetName } </ p >
5862 </ div >
5963 </ div >
6064
0 commit comments