mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-27 03:35:50 +03:00
Fix undefined inHome
This commit is contained in:
parent
515b988b94
commit
31b342d68e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue