I\'m new to React and javascript and need some help. I\'m using a function that returns a Promise including an interface. I want to access the variable in the Interface and