hack4impact-uiuc / 7000-languages

Helping Indigenous communities around the world teach, learn and sustain their languages
GNU General Public License v3.0
12 stars 2 forks source link

Users can't be a Learner and Contributor at the same time #306

Closed ashayp22 closed 1 year ago

ashayp22 commented 1 year ago

A contributor cannot join their own course because React Navigation doesn't allow duplicate Screen keys. We use the course _id as the key, and so if a course shows up twice in all courses associated with a user, we end up with duplicate keys. One potential solution is changing how we come up with keys.