Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix to error condition that breaks the feed

+2 -1
+2 -1
src/state/models/feed-view.ts
··· 607 607 slice.length, 608 608 ) 609 609 const targetDate = new Date(removed[removed.length - 1].indexedAt) 610 - const newIndex = reorg.findIndex( 610 + let newIndex = reorg.findIndex( 611 611 item => new Date(item.indexedAt) < targetDate, 612 612 ) 613 + if (newIndex === -1) newIndex = 0 613 614 reorg.splice(newIndex, 0, ...removed) 614 615 slice.index = newIndex 615 616 }