From 89f4bf5aea14eacee244154f6398f218ad8ad706 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 13 Oct 2020 18:01:17 +0200 Subject: [PATCH] method changes --- src/components/organisms/AssetActions/Pool/Remove.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/organisms/AssetActions/Pool/Remove.tsx b/src/components/organisms/AssetActions/Pool/Remove.tsx index 34dd54c57..ce5e77077 100644 --- a/src/components/organisms/AssetActions/Pool/Remove.tsx +++ b/src/components/organisms/AssetActions/Pool/Remove.tsx @@ -57,13 +57,13 @@ export default function Remove({ (Number(amountPercent) / Number(poolTokens)) * 100 setAmountPoolShares(`${amountPoolShares}`) - const amountOcean = await ocean.pool.getPoolSharesForRemoveOcean( + const amountOcean = await ocean.pool.getOceanRemovedforPoolShares( poolAddress, `${amountPoolShares}` ) setAmountOcean(amountOcean) - const amountDatatoken = await ocean.pool.getPoolSharesForRemoveDT( + const amountDatatoken = await ocean.pool.getDTRemovedforPoolShares( poolAddress, `${amountPoolShares}` )