diff --git a/components/account_page/AccountFunding.tsx b/components/account_page/AccountFunding.tsx index 804ce77c..bd46e02e 100644 --- a/components/account_page/AccountFunding.tsx +++ b/components/account_page/AccountFunding.tsx @@ -4,6 +4,7 @@ import Chart from '../Chart' import Loading from '../Loading' import Select from '../Select' import { Table, Td, Th, TrBody, TrHead } from '../TableElements' +import { isEmpty } from 'lodash' const AccountFunding = () => { const mangoAccount = useMangoStore((s) => s.selectedMangoAccount.current) @@ -109,7 +110,7 @@ const AccountFunding = () => { <> - {hourlyFunding && !loading ? ( + {!isEmpty(hourlyFunding) && !loading ? ( <>
{ ? nativeToUi(msrmAccountData.amount, MSRM_DECIMALS) : 0 const feeTier = getFeeTier(totalMsrm, totalSrm) - console.log('feeTier', feeTier) const { maker, taker } = getFeeRates(feeTier)