Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evavirseda committed Mar 22, 2024
1 parent 576ed17 commit 3b65e2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@
function getManaBreakdown(): BalanceBreakdown {
const totalPasiveMana = getManaBalance(walletBalance?.mana?.total)
const availablePasiveBalance = getManaBalance(walletBalance?.mana?.available)
const totalMana = totalPasiveMana + (walletBalance.totalWalletBic ?? 0)
const totalMana = totalPasiveMana + (walletBalance?.totalWalletBic ?? 0)
const subBreakdown = {
availableMana: { amount: availablePasiveBalance },
lockedMana: { amount: totalPasiveMana - availablePasiveBalance },
bicMana: { amount: walletBalance.totalWalletBic },
bicMana: { amount: walletBalance?.totalWalletBic },
}
return { amount: totalMana, subBreakdown, isBaseToken: false }
}
Expand Down

0 comments on commit 3b65e2c

Please sign in to comment.