From 6f42c2e7ab7e93594733f8c249711ac9f68675e4 Mon Sep 17 00:00:00 2001 From: Shridhar Goel <35566748+ShridharGoel@users.noreply.github.com> Date: Mon, 26 Aug 2024 10:22:24 +0000 Subject: [PATCH] Update --- src/components/Composer/index.native.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Composer/index.native.tsx b/src/components/Composer/index.native.tsx index 0160b51557f6..2a2e287917f2 100644 --- a/src/components/Composer/index.native.tsx +++ b/src/components/Composer/index.native.tsx @@ -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);