mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
add todos
This commit is contained in:
parent
3170fb512c
commit
405a400a83
@ -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) {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user