mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Fix no pricing schema available in publish preview page (#1901)
* fix preview price schema not available * fix swithc from fre to free after first set
This commit is contained in:
parent
85a9a21a1c
commit
1ebfbca11e
@ -34,6 +34,14 @@ export default function Preview(): ReactElement {
|
||||
validOrderTx: '',
|
||||
publisherMarketOrderFee: '0'
|
||||
}
|
||||
asset.stats = {
|
||||
orders: null,
|
||||
price: {
|
||||
value: values.pricing.type === 'free' ? 0 : values.pricing.price,
|
||||
tokenSymbol: values.pricing?.baseToken?.symbol || 'OCEAN',
|
||||
tokenAddress: ZERO_ADDRESS
|
||||
}
|
||||
}
|
||||
setAsset(asset)
|
||||
}
|
||||
makeDdo()
|
||||
|
Loading…
Reference in New Issue
Block a user