fix: Account switcher shows outdated profile name (#7969)
This commit is contained in:
@@ -228,6 +228,9 @@ export function useProfileUpdateMutation() {
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: RQKEY(variables.profile.did),
|
||||
})
|
||||
queryClient.invalidateQueries({
|
||||
queryKey: [profilesQueryKeyRoot, [variables.profile.did]],
|
||||
})
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user