Skip to content

Commit 63925be

Browse files
committed
Merge branch 'track-file-uploads-outside-message-composer' into feat/native-multipart-upload
2 parents 796a708 + bf5e0a7 commit 63925be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package/src/hooks/usePendingAttachmentUpload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function usePendingAttachmentUpload(localId: string | undefined): Pending
3131
if (!localId) {
3232
return idle;
3333
}
34-
const record = state.uploads.find((u) => u.id === localId);
34+
const record = state.uploads[localId];
3535
if (!record) {
3636
return idle;
3737
}

0 commit comments

Comments
 (0)