From da23dd51dae251dc6604120fe62e82514eac7038 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 19 Aug 2020 17:37:50 +0200 Subject: [PATCH] restore user balance calculation --- src/components/organisms/AssetActions/Pool/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/AssetActions/Pool/index.tsx b/src/components/organisms/AssetActions/Pool/index.tsx index 023326cc6..87278e220 100644 --- a/src/components/organisms/AssetActions/Pool/index.tsx +++ b/src/components/organisms/AssetActions/Pool/index.tsx @@ -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 }