this repo has no description
0
fork

Configure Feed

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

Fix empty statuses when (pre)loading homeNew

+11 -1
+11 -1
src/pages/home.jsx
··· 93 93 newStatuses.value.length && 94 94 newStatuses.value[0].id !== states.home[0].id 95 95 ) { 96 - states.homeNew = newStatuses.value; 96 + states.homeNew = newStatuses.value.map((status) => { 97 + states.statuses.set(status.id, status); 98 + if (status.reblog) { 99 + states.statuses.set(status.reblog.id, status.reblog); 100 + } 101 + return { 102 + id: status.id, 103 + reblog: status.reblog?.id, 104 + reply: !!status.inReplyToAccountId, 105 + }; 106 + }); 97 107 } 98 108 setUIState('default'); 99 109 })();