fix(ProfileSettings): don't submit password unless changed

This commit is contained in:
Ali BARIN
2023-04-06 13:34:43 +00:00
parent 2840fce856
commit c64ca9d9b7
3 changed files with 25 additions and 8 deletions

View File

@@ -4,9 +4,8 @@ export const UPDATE_USER = gql`
mutation UpdateUser($input: UpdateUserInput) {
updateUser(input: $input) {
id
email
fullName
updatedAt
email
}
}
`;

View File

@@ -6,8 +6,6 @@ export const GET_CURRENT_USER = gql`
id
fullName
email
createdAt
updatedAt
}
}
`;