Skip to content

Commit

Permalink
Merge pull request #6 from GooeyAI/fix-switch-case
Browse files Browse the repository at this point in the history
Fix build error: replace logical OR in switch-case with fallthrough
  • Loading branch information
nikochiko authored Sep 23, 2024
2 parents f92ae02 + 6a4980c commit 6b7d917
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 6b7d917

Please sign in to comment.