Update profile preview to use react-query (#1890)
This commit is contained in:
parent
9fca7b3af6
commit
47204d9551
2 changed files with 70 additions and 14 deletions
|
@ -66,7 +66,7 @@ export const ProfileScreen = withAuthRequired(function ProfileScreenImpl({
|
|||
}
|
||||
}, [resolveError, refetchDid, refetchProfile])
|
||||
|
||||
if (isFetchingDid || isFetchingProfile) {
|
||||
if (isFetchingDid || isFetchingProfile || !moderationOpts) {
|
||||
return (
|
||||
<CenteredView>
|
||||
<View style={s.p20}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue