Update profile preview to use react-query (#1890)

This commit is contained in:
Paul Frazee
2023-11-13 14:57:53 -08:00
committed by GitHub
parent 9fca7b3af6
commit 47204d9551
2 changed files with 70 additions and 14 deletions
+1 -1
View File
@@ -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}>