1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

add todos

This commit is contained in:
Matthias Kretschmann 2020-08-28 17:39:41 +02:00
parent 3170fb512c
commit 405a400a83
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 5 additions and 0 deletions

View File

@ -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) {

View File

@ -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