Fix custom feed error state for new inner header
This commit is contained in:
@@ -209,12 +209,8 @@ export const CustomFeedScreenInner = observer(
|
|||||||
}, [store, onSoftReset, isScreenFocused])
|
}, [store, onSoftReset, isScreenFocused])
|
||||||
|
|
||||||
const renderEmptyState = React.useCallback(() => {
|
const renderEmptyState = React.useCallback(() => {
|
||||||
return (
|
return <EmptyState icon="feed" message="This feed is empty!" />
|
||||||
<View style={[pal.border, {borderTopWidth: 1, paddingTop: 20}]}>
|
}, [])
|
||||||
<EmptyState icon="feed" message="This feed is empty!" />
|
|
||||||
</View>
|
|
||||||
)
|
|
||||||
}, [pal.border])
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={s.hContentRegion}>
|
<View style={s.hContentRegion}>
|
||||||
|
|||||||
Reference in New Issue
Block a user