Fix usage

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-09-01 14:00:22 +02:00
parent f7ae8dcece
commit 119539ab01
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ const Index: NextPage = () => {
const equity = useMemo(() => {
return mangoAccount?.getEquity()
? (mangoAccount.getEquity() as I80F48)
: ZERO_I80F48
: ZERO_I80F48()
}, [mangoAccount])
return !chartToShow ? (