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

Clicking on the Add Item Button twice creates duplicate #179

Closed ashayp22 closed 2 years ago

ashayp22 commented 2 years ago

Describe the bug

When users go to add a vocab item, it may take some time. Users may not know this, and click the button twice or thrice. This creates duplicates of the same vocab item. We should disable buttons after they are clicked, and should only be enabled after the onPress function for that button has been resolved.

ashayp22 commented 2 years ago

Resolved in #225.