fix: Account switcher shows outdated profile name (#7969)

This commit is contained in:
omar0404
2025-03-12 15:58:57 +02:00
committed by GitHub
parent 810e85c073
commit 5e1c262edc
+3
View File
@@ -228,6 +228,9 @@ export function useProfileUpdateMutation() {
queryClient.invalidateQueries({
queryKey: RQKEY(variables.profile.did),
})
queryClient.invalidateQueries({
queryKey: [profilesQueryKeyRoot, [variables.profile.did]],
})
},
})
}