fix: regenerate migration file + fix after rebase dev

This commit is contained in:
Dolu
2022-09-12 17:25:53 +02:00
parent acdf617fb0
commit 2a308d00ae
6 changed files with 65 additions and 29 deletions

View File

@@ -109,7 +109,7 @@ export default function BasicProfileInfoTab() {
onCompleted: ({ updateProfileDetails: data }) => {
if (data) {
dispatch(setUser(data))
reset(data);
reset({ ...data, avatar: { url: data.avatar } });
apolloClient.writeFragment({
id: `User:${data?.id}`,
data,