mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 22:26:57 +01: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 newStatuses = await fetchHome;
|
||||||
const hasOneAndReblog =
|
const hasOneAndReblog =
|
||||||
newStatuses.length === 1 && newStatuses?.[0]?.reblog;
|
newStatuses.length === 1 && newStatuses?.[0]?.reblog;
|
||||||
if (newStatuses.length && !inHome) {
|
if (newStatuses.length) {
|
||||||
if (states.settings.boostsCarousel && hasOneAndReblog) {
|
if (states.settings.boostsCarousel && hasOneAndReblog) {
|
||||||
// do nothing
|
// do nothing
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue