about summary refs log tree commit diff
path: root/src/view/screens/ProfileList.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/screens/ProfileList.tsx')
-rw-r--r--src/view/screens/ProfileList.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/screens/ProfileList.tsx b/src/view/screens/ProfileList.tsx
index 624bea027..692596599 100644
--- a/src/view/screens/ProfileList.tsx
+++ b/src/view/screens/ProfileList.tsx
@@ -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>
     )
   },