diff --git a/client/js/templates/EntriesPage.jsx b/client/js/templates/EntriesPage.jsx index 2bdb3b64f5..8a6c275f8a 100644 --- a/client/js/templates/EntriesPage.jsx +++ b/client/js/templates/EntriesPage.jsx @@ -729,7 +729,7 @@ class StateHolder extends React.Component { const newStatus = entryStatuses.find( (entryStatus) => entryStatus.id == id, ); - if (newStatus !== null) { + if (newStatus) { this.starEntryInView(id, newStatus.starred); this.markEntryInView(id, newStatus.unread); }