add comment

This commit is contained in:
Anthony 2021-12-16 20:16:06 +01:00 committed by Thomas Zarebczan
parent fe3bbb0c70
commit 27012f0c8d

View file

@ -166,6 +166,8 @@ function HomePage(props: Props) {
if (!isFullyVisible) break;
lastCard = card;
}
// if no last card was found, just exit the function to not cause errors
if (!lastCard) return;
}