(fix:upload) set docs

This commit is contained in:
ManishMadan2882
2025-10-05 18:07:21 +05:30
parent eb4d776784
commit c00b6459dc

View File

@@ -327,7 +327,7 @@ function Upload({
(doc: Doc) => doc.id && !existingDocIds.has(doc.id),
);
if (newDoc) {
dispatch(setSelectedDocs(newDoc));
dispatch(setSelectedDocs([newDoc]));
}
}