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 }
|
content: { form: FormContent }
|
||||||
}): ReactElement {
|
}): ReactElement {
|
||||||
const { marketFeeAmount } = useSiteMetadata()
|
const { marketFeeAddress, marketFeeAmount } = useSiteMetadata()
|
||||||
const { accountId, ocean } = useOcean()
|
const { accountId, ocean } = useOcean()
|
||||||
const { publish, publishError } = usePublish()
|
const { publish, publishError } = usePublish()
|
||||||
const navigate = useNavigate()
|
const navigate = useNavigate()
|
||||||
@ -50,8 +50,8 @@ export default function PublishPage({
|
|||||||
metadata as any,
|
metadata as any,
|
||||||
tokensToMint.toString(),
|
tokensToMint.toString(),
|
||||||
serviceType,
|
serviceType,
|
||||||
'',
|
marketFeeAddress,
|
||||||
''
|
marketFeeAmount
|
||||||
)
|
)
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'advanced': {
|
case 'advanced': {
|
||||||
@ -61,7 +61,7 @@ export default function PublishPage({
|
|||||||
ddo.dataToken,
|
ddo.dataToken,
|
||||||
tokensToMint.toString(),
|
tokensToMint.toString(),
|
||||||
'9',
|
'9',
|
||||||
marketFeeAmount
|
'0.03'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user