mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
restore user balance calculation
This commit is contained in:
parent
ab0996f168
commit
da23dd51da
@ -61,7 +61,7 @@ export default function Pool({ ddo }: { ddo: DDO }): ReactElement {
|
||||
|
||||
const userBalance = {
|
||||
ocean: `${
|
||||
(Number(sharesBalance) * Number(dtReserve)) / Number(oceanReserve)
|
||||
(Number(sharesBalance) / Number(dtReserve)) * Number(oceanReserve)
|
||||
}`,
|
||||
dt: sharesBalance
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user