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.
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.