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:
parent
69ffba32cf
commit
c2bcad440c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user