diff --git a/src/screens/NotificationsScreen.tsx b/src/screens/NotificationsScreen.tsx index f3b33ef4..205279f7 100644 --- a/src/screens/NotificationsScreen.tsx +++ b/src/screens/NotificationsScreen.tsx @@ -19,12 +19,9 @@ export default class NotificationsScreen extends PureComponent< return ( - {({ user }) => - !(user && user.accessToken) ? null : ( - + {({ accessToken }) => + !!accessToken && ( + ) }