From a95dbec8290c219bfa365bbff71911de31c4289c Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Fri, 14 Nov 2025 15:35:50 +0530 Subject: [PATCH] fix: broken attachment icon image --- apps/web/core/components/icons/attachment/audio-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/css-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/csv-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/default-file-icon.tsx | 1 - apps/web/core/components/icons/attachment/doc-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/figma-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/html-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/img-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/jpg-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/js-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/pdf-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/png-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/rar-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/sheet-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/svg-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/txt-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/video-file-icon.tsx | 2 +- apps/web/core/components/icons/attachment/zip-file-icon.tsx | 2 +- 18 files changed, 17 insertions(+), 18 deletions(-) diff --git a/apps/web/core/components/icons/attachment/audio-file-icon.tsx b/apps/web/core/components/icons/attachment/audio-file-icon.tsx index 6e5d9c213e..67b50f3421 100644 --- a/apps/web/core/components/icons/attachment/audio-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/audio-file-icon.tsx @@ -8,5 +8,5 @@ export type AudioIconProps = { }; export const AudioIcon: React.FC = ({ width, height }) => ( - AudioFileIcon + AudioFileIcon ); diff --git a/apps/web/core/components/icons/attachment/css-file-icon.tsx b/apps/web/core/components/icons/attachment/css-file-icon.tsx index 786bb52a78..78e07be54e 100644 --- a/apps/web/core/components/icons/attachment/css-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/css-file-icon.tsx @@ -5,5 +5,5 @@ import CssFileIcon from "@/app/assets/attachment/css-icon.png?url"; import type { ImageIconPros } from "../types"; export const CssIcon: React.FC = ({ width, height }) => ( - CssFileIcon + CssFileIcon ); diff --git a/apps/web/core/components/icons/attachment/csv-file-icon.tsx b/apps/web/core/components/icons/attachment/csv-file-icon.tsx index d11cea5974..f050c92a28 100644 --- a/apps/web/core/components/icons/attachment/csv-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/csv-file-icon.tsx @@ -5,5 +5,5 @@ import CSVFileIcon from "@/app/assets/attachment/csv-icon.png?url"; import type { ImageIconPros } from "../types"; export const CsvIcon: React.FC = ({ width, height }) => ( - CSVFileIcon + CSVFileIcon ); diff --git a/apps/web/core/components/icons/attachment/default-file-icon.tsx b/apps/web/core/components/icons/attachment/default-file-icon.tsx index b2fbd7981e..5a857b1442 100644 --- a/apps/web/core/components/icons/attachment/default-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/default-file-icon.tsx @@ -9,7 +9,6 @@ export const DefaultIcon: React.FC = ({ width, height }) => ( src={DefaultFileIcon} width={width} height={height} - className="h-full w-full object-contain" alt="DefaultFileIcon" /> ); diff --git a/apps/web/core/components/icons/attachment/doc-file-icon.tsx b/apps/web/core/components/icons/attachment/doc-file-icon.tsx index fa5b646b83..f60c7097ae 100644 --- a/apps/web/core/components/icons/attachment/doc-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/doc-file-icon.tsx @@ -5,5 +5,5 @@ import DocFileIcon from "@/app/assets/attachment/doc-icon.png?url"; import type { ImageIconPros } from "../types"; export const DocIcon: React.FC = ({ width, height }) => ( - DocFileIcon + DocFileIcon ); diff --git a/apps/web/core/components/icons/attachment/figma-file-icon.tsx b/apps/web/core/components/icons/attachment/figma-file-icon.tsx index d2b073a05d..17c1328292 100644 --- a/apps/web/core/components/icons/attachment/figma-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/figma-file-icon.tsx @@ -5,5 +5,5 @@ import FigmaFileIcon from "@/app/assets/attachment/figma-icon.png?url"; import type { ImageIconPros } from "../types"; export const FigmaIcon: React.FC = ({ width, height }) => ( - FigmaFileIcon + FigmaFileIcon ); diff --git a/apps/web/core/components/icons/attachment/html-file-icon.tsx b/apps/web/core/components/icons/attachment/html-file-icon.tsx index e79bf97711..e2d4dd9ed0 100644 --- a/apps/web/core/components/icons/attachment/html-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/html-file-icon.tsx @@ -5,5 +5,5 @@ import HtmlFileIcon from "@/app/assets/attachment/html-icon.png?url"; import type { ImageIconPros } from "../types"; export const HtmlIcon: React.FC = ({ width, height }) => ( - HtmlFileIcon + HtmlFileIcon ); diff --git a/apps/web/core/components/icons/attachment/img-file-icon.tsx b/apps/web/core/components/icons/attachment/img-file-icon.tsx index 730f0aa2dc..e70399584c 100644 --- a/apps/web/core/components/icons/attachment/img-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/img-file-icon.tsx @@ -5,5 +5,5 @@ import ImgFileIcon from "@/app/assets/attachment/img-icon.png?url"; import type { ImageIconPros } from "../types"; export const ImgIcon: React.FC = ({ width, height }) => ( - ImgFileIcon + ImgFileIcon ); diff --git a/apps/web/core/components/icons/attachment/jpg-file-icon.tsx b/apps/web/core/components/icons/attachment/jpg-file-icon.tsx index ee7cfff0c8..e3815612a9 100644 --- a/apps/web/core/components/icons/attachment/jpg-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/jpg-file-icon.tsx @@ -5,5 +5,5 @@ import JpgFileIcon from "@/app/assets/attachment/jpg-icon.png?url"; import type { ImageIconPros } from "../types"; export const JpgIcon: React.FC = ({ width, height }) => ( - JpgFileIcon + JpgFileIcon ); diff --git a/apps/web/core/components/icons/attachment/js-file-icon.tsx b/apps/web/core/components/icons/attachment/js-file-icon.tsx index e45b79b441..7104579a01 100644 --- a/apps/web/core/components/icons/attachment/js-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/js-file-icon.tsx @@ -5,5 +5,5 @@ import JsFileIcon from "@/app/assets/attachment/js-icon.png?url"; import type { ImageIconPros } from "../types"; export const JavaScriptIcon: React.FC = ({ width, height }) => ( - JsFileIcon + JsFileIcon ); diff --git a/apps/web/core/components/icons/attachment/pdf-file-icon.tsx b/apps/web/core/components/icons/attachment/pdf-file-icon.tsx index 1d5baa6e16..c21b987da2 100644 --- a/apps/web/core/components/icons/attachment/pdf-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/pdf-file-icon.tsx @@ -5,5 +5,5 @@ import PDFFileIcon from "@/app/assets/attachment/pdf-icon.png?url"; import type { ImageIconPros } from "../types"; export const PdfIcon: React.FC = ({ width, height }) => ( - PDFFileIcon + PDFFileIcon ); diff --git a/apps/web/core/components/icons/attachment/png-file-icon.tsx b/apps/web/core/components/icons/attachment/png-file-icon.tsx index f2a6366d6f..621cabf1e2 100644 --- a/apps/web/core/components/icons/attachment/png-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/png-file-icon.tsx @@ -5,5 +5,5 @@ import PngFileIcon from "@/app/assets/attachment/png-icon.png?url"; import type { ImageIconPros } from "../types"; export const PngIcon: React.FC = ({ width, height }) => ( - PngFileIcon + PngFileIcon ); diff --git a/apps/web/core/components/icons/attachment/rar-file-icon.tsx b/apps/web/core/components/icons/attachment/rar-file-icon.tsx index 02fdc57179..611758c74a 100644 --- a/apps/web/core/components/icons/attachment/rar-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/rar-file-icon.tsx @@ -5,5 +5,5 @@ import RarFileIcon from "@/app/assets/attachment/rar-icon.png?url"; import type { ImageIconPros } from "../types"; export const RarIcon: React.FC = ({ width, height }) => ( - RarFileIcon + RarFileIcon ); diff --git a/apps/web/core/components/icons/attachment/sheet-file-icon.tsx b/apps/web/core/components/icons/attachment/sheet-file-icon.tsx index 17dc8cd1c1..3c86a47219 100644 --- a/apps/web/core/components/icons/attachment/sheet-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/sheet-file-icon.tsx @@ -5,5 +5,5 @@ import SheetFileIcon from "@/app/assets/attachment/excel-icon.png?url"; import type { ImageIconPros } from "../types"; export const SheetIcon: React.FC = ({ width, height }) => ( - SheetFileIcon + SheetFileIcon ); diff --git a/apps/web/core/components/icons/attachment/svg-file-icon.tsx b/apps/web/core/components/icons/attachment/svg-file-icon.tsx index 32bef67cab..8f610b8ff3 100644 --- a/apps/web/core/components/icons/attachment/svg-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/svg-file-icon.tsx @@ -5,5 +5,5 @@ import SvgFileIcon from "@/app/assets/attachment/svg-icon.png?url"; import type { ImageIconPros } from "../types"; export const SvgIcon: React.FC = ({ width, height }) => ( - SvgFileIcon + SvgFileIcon ); diff --git a/apps/web/core/components/icons/attachment/txt-file-icon.tsx b/apps/web/core/components/icons/attachment/txt-file-icon.tsx index 54d792d9b7..687ad54e05 100644 --- a/apps/web/core/components/icons/attachment/txt-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/txt-file-icon.tsx @@ -5,5 +5,5 @@ import TxtFileIcon from "@/app/assets/attachment/txt-icon.png?url"; import type { ImageIconPros } from "../types"; export const TxtIcon: React.FC = ({ width, height }) => ( - TxtFileIcon + TxtFileIcon ); diff --git a/apps/web/core/components/icons/attachment/video-file-icon.tsx b/apps/web/core/components/icons/attachment/video-file-icon.tsx index b9a77026aa..892bcac54a 100644 --- a/apps/web/core/components/icons/attachment/video-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/video-file-icon.tsx @@ -5,5 +5,5 @@ import VideoFileIcon from "@/app/assets/attachment/video-icon.png?url"; import type { ImageIconPros } from "../types"; export const VideoIcon: React.FC = ({ width, height }) => ( - VideoFileIcon + VideoFileIcon ); diff --git a/apps/web/core/components/icons/attachment/zip-file-icon.tsx b/apps/web/core/components/icons/attachment/zip-file-icon.tsx index e2c847647d..5830d719e8 100644 --- a/apps/web/core/components/icons/attachment/zip-file-icon.tsx +++ b/apps/web/core/components/icons/attachment/zip-file-icon.tsx @@ -5,5 +5,5 @@ import ZipFileIcon from "@/app/assets/attachment/zip-icon.png?url"; import type { ImageIconPros } from "../types"; export const ZipIcon: React.FC = ({ width, height }) => ( - ZipFileIcon + ZipFileIcon );