issues
search
Kimberly-Hart
/
East-Barley
1
stars
1
forks
source link
Ac age verification
#82
Closed
aclai4067
closed
4 years ago
aclai4067
commented
4 years ago
created modal to enter date of birth to verify if user is over21
modal will not pop for logged in existing users, because we already have their DOB
if a user authenticates with firebase but does not yet have a profile created, they will still see the age verification modal
user must complete the date field and click submit to close the modal
on click, over21 state is updated and modal closes
moved user state from profile to the app level to set over21 on logged in users without explicitly visiting the profile page
added userShape/propTypes to profile