Converting Object Promise to String in Javascript

前端 未结 1 622
太阳男子
太阳男子 2021-01-17 17:36

I\'m working with React, Next.Js, semantic-ui-react and Solidity. It is my goal to print out the users address (from MetaMask) and a ProjectTitle (set by User) as meta infom

相关标签:
1条回答
  • 2021-01-17 18:22

    There is no direct way to convert an Object Promise into a String. The only way to continue processing is to call an await function or use .then() and a callback function.

    0 讨论(0)
提交回复
热议问题