Cannot access array data in reactjs
When I'm trying to get data of getObjectives function, I have got undefined. I don't know where is the problem, in the function or in the code The function GetObjectives() export async function GetObjectives(docId) { try { const querySnapshot =…