1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

publish change

This commit is contained in:
Matthias Kretschmann 2020-08-05 15:57:42 +02:00
parent 93f9432032
commit f109a71a80
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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'
)
}
}