Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ShridharGoel authored Aug 26, 2024
1 parent 9aaf7c0 commit 6f42c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Composer/index.native.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function Composer(
if (clipboardContent?.type === 'text/plain') {
return;
}
const mimeType = clipboardContent?.type;
const mimeType = clipboardContent?.type ?? '';
const fileURI = clipboardContent?.data;
const baseFileName = fileURI?.split('/').pop() ?? 'file';
const {fileName: stem, fileExtension: originalFileExtension} = FileUtils.splitExtensionFromFileName(baseFileName);
Expand Down

0 comments on commit 6f42c2e

Please sign in to comment.