From 6a4980c95a2b8c886669d22fd7378fa0b69bcc48 Mon Sep 17 00:00:00 2001 From: Kaustubh Maske Patil <37668193+nikochiko@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:58:25 +0530 Subject: [PATCH] fix build error by replacing logical or in switch-case with fallthrough --- src/widgets/copilot/components/Messages/helpers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/copilot/components/Messages/helpers.tsx b/src/widgets/copilot/components/Messages/helpers.tsx index b1d630c..23b33ef 100644 --- a/src/widgets/copilot/components/Messages/helpers.tsx +++ b/src/widgets/copilot/components/Messages/helpers.tsx @@ -55,8 +55,8 @@ export const findSourceIcon = ( return () => ; case "application/pdf": return () => ; - case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" || - "application/vnd.oasis.opendocument.spreadsheet": + case "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": + case "application/vnd.oasis.opendocument.spreadsheet": return () => ; case "application/vnd.openxmlformats-officedocument.wordprocessingml.document": return () => ;