Skip to content
Loading
+1
  • +1
    Thanks Ganesan. I tried the code and its giving me issue.
     
     Error: Objects are not valid as a React child (found:[object Response]). If you meant to render a collection of children, use an array instead.
    in label at (GetUserName.js)
    in div at GetUserName.js 
    +1
  • Ganesan C
    +1
    What is response coming from API? Pls check the response using console.log(response) and check in console.
    +1