From a73eb36961271255cda4a13ec7370e2aaa9f97f5 Mon Sep 17 00:00:00 2001 From: Didd Date: Wed, 20 Nov 2024 21:34:59 +0300 Subject: [PATCH] chore(): --- .../pages/edit-profile/update-profile-mutation-cache.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/extensions/apps/profile/src/components/pages/edit-profile/update-profile-mutation-cache.ts b/extensions/apps/profile/src/components/pages/edit-profile/update-profile-mutation-cache.ts index 38703f274..2df35d4fe 100644 --- a/extensions/apps/profile/src/components/pages/edit-profile/update-profile-mutation-cache.ts +++ b/extensions/apps/profile/src/components/pages/edit-profile/update-profile-mutation-cache.ts @@ -14,15 +14,11 @@ export async function updateProfileMutationCache({ cache, profileDID, data }: IU id: profileDID, }; - console.log(data, 'before cache update'); - - const result = cache.updateQuery( + cache.updateQuery( { query: GetProfileByDidDocument, variables, }, profileQuery => ({ node: { ...profileQuery.node, akashaProfile: { ...data } } }), ); - - console.log(result.node, 'after cache update'); }