From 405a400a8338b42efcbe71cfb1904cbca6f5681b Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 28 Aug 2020 17:39:41 +0200 Subject: [PATCH] add todos --- src/components/organisms/AssetActions/Pool/Add.tsx | 3 +++ src/components/organisms/AssetActions/Pool/Remove.tsx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/components/organisms/AssetActions/Pool/Add.tsx b/src/components/organisms/AssetActions/Pool/Add.tsx index eff7ad645..c77eda9f2 100644 --- a/src/components/organisms/AssetActions/Pool/Add.tsx +++ b/src/components/organisms/AssetActions/Pool/Add.tsx @@ -12,6 +12,8 @@ import { Balance } from './' import PriceUnit from '../../../atoms/Price/PriceUnit' import Alert from '../../../atoms/Alert' +// TODO: handle and display all fees somehow + export default function Add({ setShowAdd, poolAddress, @@ -46,6 +48,7 @@ export default function Add({ amount ) // TODO: Figure out the result structure, thenreplace `any` return in lib-js + // returns TransactionReceipt console.log(result) setTxId(result.transactionHash) } catch (error) { diff --git a/src/components/organisms/AssetActions/Pool/Remove.tsx b/src/components/organisms/AssetActions/Pool/Remove.tsx index 4d58834f9..a32cf11df 100644 --- a/src/components/organisms/AssetActions/Pool/Remove.tsx +++ b/src/components/organisms/AssetActions/Pool/Remove.tsx @@ -8,6 +8,8 @@ import { toast } from 'react-toastify' import Loader from '../../../atoms/Loader' import InputElement from '../../../atoms/Input/InputElement' +// TODO: make it work, figure out maximumPoolShares + export default function Remove({ setShowRemove, poolAddress