mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
remove todos
This commit is contained in:
parent
53f02b3758
commit
1d52702a87
@ -47,9 +47,6 @@ export default function Add({
|
|||||||
poolAddress,
|
poolAddress,
|
||||||
amount
|
amount
|
||||||
)
|
)
|
||||||
// TODO: Figure out the result structure, thenreplace `any` return in lib-js
|
|
||||||
// returns TransactionReceipt
|
|
||||||
console.log(result)
|
|
||||||
setTxId(result.transactionHash)
|
setTxId(result.transactionHash)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error.message)
|
console.error(error.message)
|
||||||
@ -85,7 +82,7 @@ export default function Add({
|
|||||||
|
|
||||||
<div className={styles.output}>
|
<div className={styles.output}>
|
||||||
<p>You will receive</p>
|
<p>You will receive</p>
|
||||||
{/* <Token symbol="BPT" balance={newPoolTokens} /> */}
|
<Token symbol="BPT" balance={newPoolTokens} />
|
||||||
<Token symbol="% of pool" balance={newPoolShare} />
|
<Token symbol="% of pool" balance={newPoolShare} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@ export default function Remove({
|
|||||||
amount,
|
amount,
|
||||||
maximumPoolShares
|
maximumPoolShares
|
||||||
)
|
)
|
||||||
// TODO: Figure out the result structure, thenreplace `any` return in lib-js
|
|
||||||
console.log(result)
|
console.log(result)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error.message)
|
console.error(error.message)
|
||||||
|
Loading…
Reference in New Issue
Block a user