fix: dashboard fixes

This commit is contained in:
Justin Starry 2020-11-27 10:38:42 +08:00
parent 6521bfd17e
commit b5a0170685
2 changed files with 1 additions and 6 deletions

View File

@ -70,7 +70,6 @@ export interface LendingReserve {
dexMarketOption: number;
dexMarket: PublicKey;
dexMarketPrice: BN; // what is precision on the price?
config: {
optimalUtilizationRate: number;
@ -81,16 +80,12 @@ export interface LendingReserve {
optimalBorrowRate: number;
maxBorrowRate: number;
};
// collateralFactor: number;
cumulativeBorrowRateWad: BN;
borrowedLiquidityWad: BN;
availableLiquidity: BN;
collateralMintSupply: BN;
// Layout.uint128("cumulative_borrow_rate"),
// Layout.uint128("total_borrows"),
}
export const LendingReserveParser = (

View File

@ -18,8 +18,8 @@ export const DashboardView = () => {
{userDeposits.length > 0 && (<div className="dashboard-left">
<span>{LABELS.DASHBOARD_TITLE_DEPOSITS}</span>
<div className="dashboard-item dashboard-header">
<div>{LABELS.TABLE_TITLE_ASSET}</div>
<div>{LABELS.TABLE_TITLE_DEPOSIT_BALANCE}</div>
<div>{LABELS.TABLE_TITLE_LOAN_BALANCE}</div>
<div>{LABELS.TABLE_TITLE_APY}</div>
<div>{LABELS.TABLE_TITLE_ACTION}</div>
</div>