Add state updates after screen changes
This commit is contained in:
@@ -27,7 +27,9 @@ export const Feed = observer(function Feed({
|
||||
}
|
||||
return (
|
||||
<View>
|
||||
{feed.isLoading && !feed.isRefreshing && <Text>Loading...</Text>}
|
||||
{feed.isLoading && !feed.isRefreshing && !feed.hasContent && (
|
||||
<Text>Loading...</Text>
|
||||
)}
|
||||
{feed.hasError && <Text>{feed.error}</Text>}
|
||||
{feed.hasContent && (
|
||||
<FlatList
|
||||
|
||||
Reference in New Issue
Block a user