1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-11-26 12:29:01 +01:00

Update usePublish.ts

This commit is contained in:
Alex Coseru 2020-07-21 13:52:43 +03:00 committed by GitHub
parent 69ffba32cf
commit c2bcad440c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,8 +69,8 @@ function usePublish(): UsePublish {
Logger.log(`minted ${tokensToMint} tokens`)
setStep(2)
await giveMarketAllowance(tokenAddress, marketAddress, tokensToMint)
Logger.log('allowance to market', marketAddress)
// await giveMarketAllowance(tokenAddress, marketAddress, tokensToMint)
// Logger.log('allowance to market', marketAddress)
const publishedDate =
new Date(Date.now()).toISOString().split('.')[0] + 'Z'
const timeout = 0