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