Skip to content

Commit

Permalink
chore():
Browse files Browse the repository at this point in the history
  • Loading branch information
didd committed Nov 20, 2024
1 parent 7baf88c commit a73eb36
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ export async function updateProfileMutationCache({ cache, profileDID, data }: IU
id: profileDID,
};

console.log(data, 'before cache update');

const result = cache.updateQuery<GetProfileByDidQuery>(
cache.updateQuery<GetProfileByDidQuery>(
{
query: GetProfileByDidDocument,
variables,
},
profileQuery => ({ node: { ...profileQuery.node, akashaProfile: { ...data } } }),
);

console.log(result.node, 'after cache update');
}

0 comments on commit a73eb36

Please sign in to comment.