Lints some errors and warnings (#76)

This commit is contained in:
Aryan Goharzad 2023-01-20 14:43:28 -05:00 committed by GitHub
parent 2fce1637b4
commit 06e41167d0
22 changed files with 62 additions and 38 deletions

View file

@ -40,11 +40,15 @@ export function UserInfoText({
let aborted = false
store.profiles.getProfile(did).then(
v => {
if (aborted) return
if (aborted) {
return
}
setProfile(v.data)
},
_err => {
if (aborted) return
if (aborted) {
return
}
setFailed(true)
},
)