Skip to content

Commit

Permalink
fixed boxes layout
Browse files Browse the repository at this point in the history
  • Loading branch information
yamijuan committed Feb 17, 2021
1 parent 434d16d commit a4572cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/hooks/useBalanceByCollateral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export const useBalanceByCollateral = (collateralReserve?: string) => {
} else {
setBalance(0);
}
});
}, [collateralReserve, userDeposits.userDeposits]);
return balance;
};
8 changes: 4 additions & 4 deletions src/views/borrowReserve/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const BorrowReserveView = () => {
/>
</Card>
</Col>
<Col xs={24} xl={3}>
<Col xs={24} xl={4}>
<Card>
<Statistic
title={LABELS.WALLET_BALANCE}
Expand All @@ -101,7 +101,7 @@ export const BorrowReserveView = () => {
/>
</Card>
</Col>
<Col xs={24} xl={9}>
<Col xs={24} xl={8}>
<Card>
<BarChartStatistic
title="Your Loans"
Expand All @@ -115,14 +115,14 @@ export const BorrowReserveView = () => {
</Col>
</Row>
<Row gutter={GUTTER} style={{ flex: 1 }}>
<Col xs={24} xl={15}>
<Col xs={24} xl={16}>
<BorrowInput
onCollateralReserve={setCollateralReserveKey}
className="card-fill"
reserve={lendingReserve}
/>
</Col>
<Col xs={24} xl={9}>
<Col xs={24} xl={8}>
<SideReserveOverview
className="card-fill"
reserve={lendingReserve}
Expand Down

0 comments on commit a4572cf

Please sign in to comment.