diff options
author | omar0404 <64747363+omar0404@users.noreply.github.com> | 2025-03-12 15:58:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 06:58:57 -0700 |
commit | 5e1c262edc9595b4f3b0c586b34036e9f5a6dbdf (patch) | |
tree | e7d8083dd11c01f7a6a446e09454f5e9d3166785 /src | |
parent | 810e85c0738211924b05c8342092b1467c411e8d (diff) | |
download | voidsky-5e1c262edc9595b4f3b0c586b34036e9f5a6dbdf.tar.zst |
fix: Account switcher shows outdated profile name (#7969)
Diffstat (limited to 'src')
-rw-r--r-- | src/state/queries/profile.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/queries/profile.ts b/src/state/queries/profile.ts index 227ca9d66..2cf144d3a 100644 --- a/src/state/queries/profile.ts +++ b/src/state/queries/profile.ts @@ -228,6 +228,9 @@ export function useProfileUpdateMutation() { queryClient.invalidateQueries({ queryKey: RQKEY(variables.profile.did), }) + queryClient.invalidateQueries({ + queryKey: [profilesQueryKeyRoot, [variables.profile.did]], + }) }, }) } |