Infinite fetching bug from Firestore
I am implementing this custom hook for a cart where basically fetches productIds, and variants from async storage, then fetch all the information of the products from Firestore. The logic then syncs the fetched data and displays it. I also implemented Firestore’s real-time capabilities. It somehow works as it should however, based on the logs I put, the fetching seems to be infinite (based on the logs).