saas
saas copied to clipboard
Fix a bug where the avatars don't get edited
Hi, the form to edit a user or team avatar seemed to be buggy, orignally useState was used, but since the setNewAvatarUrl method does not have an immediate effect on newAvatarUrl, and newAvatarUrl was originally set to the existing avatar, the avatars where not modified.
Thanks! We will review and potentially incorporate in our next book update.
Thanks! We will review and potentially incorporate in our next book update.