diff options
Diffstat (limited to 'src/state/models/me.ts')
-rw-r--r-- | src/state/models/me.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts index 427b0e35e..586be4f42 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -4,7 +4,6 @@ import { ComAtprotoServerListAppPasswords, } from '@atproto/api' import {RootStoreModel} from './root-store' -import {MyFollowsCache} from './cache/my-follows' import {isObj, hasProp} from 'lib/type-guards' import {logger} from '#/logger' @@ -18,7 +17,6 @@ export class MeModel { avatar: string = '' followsCount: number | undefined followersCount: number | undefined - follows: MyFollowsCache invites: ComAtprotoServerDefs.InviteCode[] = [] appPasswords: ComAtprotoServerListAppPasswords.AppPassword[] = [] lastProfileStateUpdate = Date.now() @@ -33,11 +31,9 @@ export class MeModel { {rootStore: false, serialize: false, hydrate: false}, {autoBind: true}, ) - this.follows = new MyFollowsCache(this.rootStore) } clear() { - this.follows.clear() this.rootStore.profiles.cache.clear() this.rootStore.posts.cache.clear() this.did = '' |