mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix community fee displayed value
This commit is contained in:
parent
88b40e5985
commit
06258f8904
1401
package-lock.json
generated
1401
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,7 @@ import { getOpcFees } from '../../../@utils/subgraph'
|
||||
import { OpcFeesQuery_opc as OpcFeesData } from '../../../@types/subgraph/OpcFeesQuery'
|
||||
import { useWeb3 } from '@context/Web3'
|
||||
import { useMarketMetadata } from '@context/MarketMetadata'
|
||||
import Decimal from 'decimal.js'
|
||||
|
||||
const Default = ({
|
||||
title,
|
||||
@ -79,7 +80,7 @@ export default function Fees({
|
||||
title="Community Fee"
|
||||
name="communityFee"
|
||||
tooltip={tooltips.communityFee}
|
||||
value={opcFees?.swapOceanFee || '0'}
|
||||
value={new Decimal(opcFees?.swapOceanFee).mul(100).toString() || '0'}
|
||||
/>
|
||||
|
||||
<Default
|
||||
|
Loading…
Reference in New Issue
Block a user