mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
publish change
This commit is contained in:
parent
93f9432032
commit
f109a71a80
@ -18,7 +18,7 @@ export default function PublishPage({
|
||||
}: {
|
||||
content: { form: FormContent }
|
||||
}): ReactElement {
|
||||
const { marketFeeAmount } = useSiteMetadata()
|
||||
const { marketFeeAddress, marketFeeAmount } = useSiteMetadata()
|
||||
const { accountId, ocean } = useOcean()
|
||||
const { publish, publishError } = usePublish()
|
||||
const navigate = useNavigate()
|
||||
@ -50,8 +50,8 @@ export default function PublishPage({
|
||||
metadata as any,
|
||||
tokensToMint.toString(),
|
||||
serviceType,
|
||||
'',
|
||||
''
|
||||
marketFeeAddress,
|
||||
marketFeeAmount
|
||||
)
|
||||
switch (type) {
|
||||
case 'advanced': {
|
||||
@ -61,7 +61,7 @@ export default function PublishPage({
|
||||
ddo.dataToken,
|
||||
tokensToMint.toString(),
|
||||
'9',
|
||||
marketFeeAmount
|
||||
'0.03'
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user