Team-Celsius / Halfsies

A mobile app that uses Google Cloud Vision AI OCR to itemize receipts for easy splitting. | React Native + Expo + Google Cloud Vision + Firebase
https://halfsies.onrender.com/
0 stars 1 forks source link

"Participants" array has 3 copies of the user upon first render #40

Closed michaeltimo closed 1 year ago

michaeltimo commented 1 year ago

After a user creates an account, snaps a pic + goes to select Participants, they are added to the Participants array three times instead of once I'm unable to replicate this bug on a signed-in account, looks to be when a user signs up If we're unable to debug, we could just add a duplicate remover that cycles through the array and gets rid of any duplicates