mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
add conversion
This commit is contained in:
parent
508e4f7165
commit
49bb90865b
@ -61,7 +61,7 @@ export default function Conversion({
|
||||
className={styleClasses}
|
||||
title="Approximation based on current spot price on Coingecko"
|
||||
>
|
||||
≈ EUR {priceEur}
|
||||
≈ {priceEur} EUR
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ export default function Remove({
|
||||
size="small"
|
||||
onClick={() => handleRemoveLiquidity()}
|
||||
>
|
||||
Supply
|
||||
Remove
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
|
@ -9,6 +9,8 @@ import Button from '../../../atoms/Button'
|
||||
import Add from './Add'
|
||||
import Remove from './Remove'
|
||||
import Tooltip from '../../../atoms/Tooltip'
|
||||
import Conversion from '../../../atoms/Price/Conversion'
|
||||
import { ReactComponent as External } from '../../../../images/external.svg'
|
||||
|
||||
interface Balance {
|
||||
ocean: string
|
||||
@ -95,6 +97,7 @@ export default function Pool({ ddo }: { ddo: DDO }): ReactElement {
|
||||
<div className={styles.dataToken}>
|
||||
<PriceUnit price="1" symbol={dtSymbol} /> ={' '}
|
||||
<PriceUnit price={dtPrice} />
|
||||
<Conversion price={dtPrice} />
|
||||
<Tooltip content="Explain how this price is determined..." />
|
||||
</div>
|
||||
|
||||
|
@ -32,7 +32,7 @@ export default function MetaFull({
|
||||
<MetaItem title="DID" content={<code>{id}</code>} />
|
||||
|
||||
<MetaItem
|
||||
title="Data Token Address"
|
||||
title="Data Token"
|
||||
content={
|
||||
<a
|
||||
href={`https://rinkeby.etherscan.io/token/${dataToken}`}
|
||||
|
Loading…
Reference in New Issue
Block a user