mirror of
https://github.com/urosran/cally.git
synced 2025-07-10 15:17:17 +00:00
user settings, points slider
This commit is contained in:
@ -17,7 +17,7 @@ export const useUpdateUserData = () => {
|
||||
await firestore()
|
||||
.collection("Profiles")
|
||||
.doc(user.uid)
|
||||
.set(newUserData);
|
||||
.update(newUserData);
|
||||
|
||||
const profileData = await firestore().collection("Profiles").doc(user?.uid!).get()
|
||||
setProfileData(profileData.data() as UserProfile)
|
||||
|
Reference in New Issue
Block a user