Skip to content

Commit

Permalink
fix build error by replacing logical or in switch-case with fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
nikochiko committed Sep 23, 2024
1 parent f92ae02 commit 6a4980c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/copilot/components/Messages/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export const findSourceIcon = (
return () => <IconYoutube />;
case "application/pdf":
return () => <IconPDF style={{ fill: "#F40F02" }} size={12} />;
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 () => <IconSheets />;
case "application/vnd.openxmlformats-officedocument.wordprocessingml.document":
return () => <IconGoogleDocs />;
Expand Down

0 comments on commit 6a4980c

Please sign in to comment.