Fix accidental unwrapped strings (#1826)

This commit is contained in:
dan
2023-11-06 22:42:25 +00:00
committed by GitHub
parent d715246e26
commit a4baf14e4b
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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>
)
},