add comment
This commit is contained in:
parent
fe3bbb0c70
commit
27012f0c8d
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ function HomePage(props: Props) {
|
||||||
if (!isFullyVisible) break;
|
if (!isFullyVisible) break;
|
||||||
lastCard = card;
|
lastCard = card;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if no last card was found, just exit the function to not cause errors
|
||||||
if (!lastCard) return;
|
if (!lastCard) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue