mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
* change top message, fixes, allocations * lock ocean tooltip * asset stats tweaks * front page allocations refactor * wording, run empty table messages through markdown * footer stats tweaks * profile tinkering * fix allocations in table * Tweak lock action logic * fix allocation 0 * sort by allocation * search ordering fixes Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
18 lines
480 B
TypeScript
18 lines
480 B
TypeScript
import PriceUnit from '@shared/Price/PriceUnit'
|
|
import React, { ReactElement } from 'react'
|
|
import { StatsTotal } from './_types'
|
|
|
|
export default function MarketStatsTotal({
|
|
total
|
|
}: {
|
|
total: StatsTotal
|
|
}): ReactElement {
|
|
return (
|
|
<>
|
|
<PriceUnit price={total.orders} size="small" /> orders across{' '}
|
|
<PriceUnit price={total.nfts} size="small" /> assets with{' '}
|
|
<PriceUnit price={total.datatokens} size="small" /> different datatokens.
|
|
</>
|
|
)
|
|
}
|