Bluesky app fork with some witchin' additions 💫

hackfix likes tab (#7770)

authored by samuel.fm and committed by

GitHub 23f00924 9c5d9208

+3 -1
+3 -1
src/lib/api/feed/likes.ts
··· 42 42 limit, 43 43 }) 44 44 if (res.success) { 45 + // HACKFIX: the API incorrectly returns a cursor when there are no items -sfn 46 + const isEmptyPage = res.data.feed.length === 0 45 47 return { 46 - cursor: res.data.cursor, 48 + cursor: isEmptyPage ? undefined : res.data.cursor, 47 49 feed: res.data.feed, 48 50 } 49 51 }