Clear caches on session change (#1179)

zio/stable
Paul Frazee 2023-08-15 12:55:51 -07:00 committed by GitHub
parent 331c506728
commit a5762c2d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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 = ''