about summary refs log tree commit diff
path: root/src/state/models/profile-view.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/profile-view.ts')
-rw-r--r--src/state/models/profile-view.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/models/profile-view.ts b/src/state/models/profile-view.ts
index 2cb481936..8386fbbc4 100644
--- a/src/state/models/profile-view.ts
+++ b/src/state/models/profile-view.ts
@@ -140,6 +140,7 @@ export class ProfileViewModel {
       const res = await this.rootStore.api.app.bsky.actor.getProfile(
         this.params,
       )
+      this.rootStore.profiles.overwrite(this.params.actor, res) // cache invalidation
       this._replaceAll(res)
       this._xIdle()
     } catch (e: any) {