how to get specific object from array in firestore using reactjs
I can't get spefic object out of array that includes many objects. It's "messages" array that containes objects. I used a method below but it returned nothing. const [userId, setUserId] = useState(); const fetch = async () => { const…