diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-15 12:55:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 12:55:51 -0700 |
commit | a5762c2d7df89bcb89588e2ab8969ea1e8945514 (patch) | |
tree | c08279d9f0bc17a565d7dbf1c8459c587339fe5b | |
parent | 331c50672855e0c8a830aa59c5c2ce8b51b60f0c (diff) | |
download | voidsky-a5762c2d7df89bcb89588e2ab8969ea1e8945514.tar.zst |
Clear caches on session change (#1179)
-rw-r--r-- | src/state/models/me.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts index e46c0e80f..186e61cf6 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -52,6 +52,8 @@ export class MeModel { this.mainFeed.clear() this.notifications.clear() this.follows.clear() + this.rootStore.profiles.cache.clear() + this.rootStore.posts.cache.clear() this.did = '' this.handle = '' this.displayName = '' |