mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
percentage is hard
This commit is contained in:
parent
89f4bf5aea
commit
36d1289a8e
@ -54,7 +54,7 @@ export default function Remove({
|
||||
|
||||
async function getValues() {
|
||||
const amountPoolShares =
|
||||
(Number(amountPercent) / Number(poolTokens)) * 100
|
||||
(Number(amountPercent) / 100) * Number(poolTokens)
|
||||
setAmountPoolShares(`${amountPoolShares}`)
|
||||
|
||||
const amountOcean = await ocean.pool.getOceanRemovedforPoolShares(
|
||||
|
Loading…
Reference in New Issue
Block a user