All Questions
1
question
1
vote
0
answers
23
views
How to get the element from promise in react? [duplicate]
From these 2 lines I am getting a promise in my console but not getting how I can access the values from it.
const name = fin.Application.getCurrentUser().getName();
console.log(name);
The result ...