diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts index a746993c..f2c4f1f4 100644 --- a/src/state/models/feed-view.ts +++ b/src/state/models/feed-view.ts @@ -405,7 +405,7 @@ export class FeedModel { const toPrepend = [] for (const item of res.data.feed) { if (this.feed.find(item2 => item2.uri === item.uri)) { - return // stop here - we've hit a post we already have + break // stop here - we've hit a post we already have } toPrepend.unshift(item) // reverse the order } diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index de973bd9..8f9b13ee 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -115,7 +115,7 @@ const Btn = ({ {notificationCount} ) : undefined} - {tabCount > 1 ? ( + {tabCount && tabCount > 1 ? ( {tabCount}