Fix items not updating when items count = 0

This commit is contained in:
Lim Chee Aun 2023-07-05 16:54:33 +08:00
parent f67fdd5759
commit 97f7a066e2

View file

@ -53,7 +53,7 @@ function Timeline({
(async () => { (async () => {
try { try {
let { done, value } = await fetchItems(firstLoad); let { done, value } = await fetchItems(firstLoad);
if (value?.length) { if (Array.isArray(value)) {
if (boostsCarousel) { if (boostsCarousel) {
value = groupBoosts(value); value = groupBoosts(value);
} }