We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bdc51d commit 3f94381Copy full SHA for 3f94381
1 file changed
src/components/AttachmentPicker/index.native.tsx
@@ -242,7 +242,7 @@ function AttachmentPicker({
242
return pickedFiles.map((file) => {
243
const localCopy = localCopies.find((copy) => copy.status === 'success' && copy.sourceUri === file.uri);
244
245
- if (!localCopy || localCopy.status !== 'success') {
+ if (!localCopy) {
246
throw new Error("Couldn't create local file copy");
247
}
248
0 commit comments