frontend-rw #1

Merged
marcin merged 347 commits from frontend-rw into develop 2024-12-05 15:32:18 -08:00
Showing only changes of commit d5a8a34ada - Show all commits

View file

@ -33,7 +33,7 @@ const importStatus = (state: State, status: Pick<Status, 'id' | 'in_reply_to_id'
if (!inReplyToId) return;
const replies = state.replies[inReplyToId] || [];
const newReplies = [...replies, id].toSorted();
const newReplies = [...new Set([...replies, id])].toSorted();
state.replies[inReplyToId] = newReplies;
state.inReplyTos[id] = inReplyToId;