ListAddUser modal UX improvements (#1809)

* typo

* Add loading state to ListAddUser

* Improve UI/UX of ListAddUser
This commit is contained in:
Paul Frazee
2023-11-03 16:44:00 -07:00
committed by GitHub
parent 4de852ded8
commit ebad6d2b1a
3 changed files with 27 additions and 20 deletions
@@ -48,6 +48,7 @@ export class UserAutocompleteModel {
// =
async setup() {
this.isLoading = true
await this.rootStore.me.follows.syncIfNeeded()
runInAction(() => {
for (const did in this.rootStore.me.follows.byDid) {
@@ -56,6 +57,7 @@ export class UserAutocompleteModel {
this.knownHandles.add(info.handle)
}
}
this.isLoading = false
})
}