diff --git a/ts/state/ducks/stagedAttachments.ts b/ts/state/ducks/stagedAttachments.ts index 8c6787d44..d43602fc8 100644 --- a/ts/state/ducks/stagedAttachments.ts +++ b/ts/state/ducks/stagedAttachments.ts @@ -37,9 +37,8 @@ const stagedAttachmentsSlice = createSlice({ } const allAttachments = _.concat(currentStagedAttachments, newAttachments); - const uniqAttachments = _.uniqBy(allAttachments, m => m.fileName); - state.stagedAttachments[conversationKey] = uniqAttachments; + state.stagedAttachments[conversationKey] = allAttachments; return state; }, removeAllStagedAttachmentsInConversation(