fix: dashboard fixes
This commit is contained in:
parent
6521bfd17e
commit
b5a0170685
|
@ -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 = (
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue