Skip to content

Commit 3f94381

Browse files
committed
fix: apply suggestion
1 parent 7bdc51d commit 3f94381

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/AttachmentPicker/index.native.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function AttachmentPicker({
242242
return pickedFiles.map((file) => {
243243
const localCopy = localCopies.find((copy) => copy.status === 'success' && copy.sourceUri === file.uri);
244244

245-
if (!localCopy || localCopy.status !== 'success') {
245+
if (!localCopy) {
246246
throw new Error("Couldn't create local file copy");
247247
}
248248

0 commit comments

Comments
 (0)