From 31b342d68e1c14777d1e2b1e08531b687b8a8a0e Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 27 Jan 2023 15:17:56 +0800 Subject: [PATCH] Fix undefined inHome --- src/app.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.jsx b/src/app.jsx index 027589d1..babf85c1 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -443,7 +443,7 @@ function startVisibility() { const newStatuses = await fetchHome; const hasOneAndReblog = newStatuses.length === 1 && newStatuses?.[0]?.reblog; - if (newStatuses.length && !inHome) { + if (newStatuses.length) { if (states.settings.boostsCarousel && hasOneAndReblog) { // do nothing } else {