Fix accidental unwrapped strings (#1826)
This commit is contained in:
@@ -284,13 +284,13 @@ function SavedFeed({feed}: {feed: FeedSourceModel}) {
|
||||
<Text type="lg-medium" style={pal.text} numberOfLines={1}>
|
||||
{feed.displayName}
|
||||
</Text>
|
||||
{feed.error && (
|
||||
{feed.error ? (
|
||||
<View style={[styles.offlineSlug, pal.borderDark]}>
|
||||
<Text type="xs" style={pal.textLight}>
|
||||
Feed offline
|
||||
</Text>
|
||||
</View>
|
||||
)}
|
||||
) : null}
|
||||
</View>
|
||||
{isMobile && (
|
||||
<FontAwesomeIcon
|
||||
|
||||
@@ -250,7 +250,7 @@ export const ProfileListScreenInner = observer(
|
||||
return (
|
||||
<CenteredView sideBorders style={s.hContentRegion}>
|
||||
<Header rkey={rkey} list={list} />
|
||||
{list.error && <ErrorScreen error={list.error} />}
|
||||
{list.error ? <ErrorScreen error={list.error} /> : null}
|
||||
</CenteredView>
|
||||
)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user