You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "update student prework" checkbox does a PUT, which updates the entire student object. At this point there's a student.ghAvatarUrl on the student, so that url gets stored in the firebase DB. This is fine, but since it's there we should check if they have an avatar on their object before doing an extraneous GET for the sole purpose of loading that avatar.
Places where the GET is happening:
SingleStudent
GoodStudent
in GoodStudent we'll need to either set the state appropriately, or else use the ghAvatarUrl on the student object in props
The text was updated successfully, but these errors were encountered:
The "update student prework" checkbox does a PUT, which updates the entire student object. At this point there's a
student.ghAvatarUrl
on the student, so that url gets stored in the firebase DB. This is fine, but since it's there we should check if they have an avatar on their object before doing an extraneous GET for the sole purpose of loading that avatar.Places where the GET is happening:
in GoodStudent we'll need to either set the state appropriately, or else use the
ghAvatarUrl
on the student object in propsThe text was updated successfully, but these errors were encountered: