From 0a4898059b0a8078b22314502b30fdc1c78ef793 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 19 Dec 2022 10:04:11 +0800 Subject: [PATCH] Set to 2 --- src/pages/home.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/home.jsx b/src/pages/home.jsx index c2c2cca8..4c910dd6 100644 --- a/src/pages/home.jsx +++ b/src/pages/home.jsx @@ -85,7 +85,8 @@ function Home({ hidden }) { setTimeout(() => { (async () => { const newStatus = await masto.timelines.fetchHome({ - limit: 1, + limit: 2, + // Need 2 because "new posts" only appear when there are 2 or more }); if (newStatus.length && newStatus[0].id !== states.home[0].id) { states.homeNew = newStatus;