Rework the me.follows cache to reduce network load (#384)

This commit is contained in:
Paul Frazee
2023-04-03 19:50:46 -05:00
committed by GitHub
parent 50f7f9877f
commit 25cc5b997f
13 changed files with 97 additions and 75 deletions
+3
View File
@@ -43,6 +43,9 @@ export class SearchUIModel {
profiles = profiles.concat(res.data.profiles)
} while (profilesSearch.length)
}
this.rootStore.me.follows.hydrateProfiles(profiles)
runInAction(() => {
this.profiles = profiles
this.isProfilesLoading = false