fixing it by just using setdata instead of worrying about add document

This commit is contained in:
talksik
2021-12-20 20:30:38 -08:00
parent f663e3a0da
commit c0b898c2e6
4 changed files with 9 additions and 6 deletions
@@ -106,7 +106,7 @@ struct AddBasicInfoView: View {
Button {
var updatedUser = self.authSessionStore.user
updatedUser?.avatar = Avatars.avatarSystemNames[self.selectedAvatarIndex]
updatedUser?.nickname = self.nickname
updatedUser?.nickname = self.nickname
print("attempting to save information \(updatedUser)")
@@ -114,7 +114,7 @@ struct AddBasicInfoView: View {
self.addInfoViewModel.updateUser(currUser: updatedUser!) {
self.navigationStack.push(InnerCircleView())
}
}
}
} label: {
Text("Save")
.fontWeight(.heavy)