1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +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 PriceUnit from '../../../atoms/Price/PriceUnit'
import Alert from '../../../atoms/Alert' import Alert from '../../../atoms/Alert'
// TODO: handle and display all fees somehow
export default function Add({ export default function Add({
setShowAdd, setShowAdd,
poolAddress, poolAddress,
@ -46,6 +48,7 @@ export default function Add({
amount amount
) )
// TODO: Figure out the result structure, thenreplace `any` return in lib-js // TODO: Figure out the result structure, thenreplace `any` return in lib-js
// returns TransactionReceipt
console.log(result) console.log(result)
setTxId(result.transactionHash) setTxId(result.transactionHash)
} catch (error) { } catch (error) {

View File

@ -8,6 +8,8 @@ import { toast } from 'react-toastify'
import Loader from '../../../atoms/Loader' import Loader from '../../../atoms/Loader'
import InputElement from '../../../atoms/Input/InputElement' import InputElement from '../../../atoms/Input/InputElement'
// TODO: make it work, figure out maximumPoolShares
export default function Remove({ export default function Remove({
setShowRemove, setShowRemove,
poolAddress poolAddress