@@ -59,7 +59,7 @@ export default function FileCard({
{" "}
{imgTypes.has(fileType) ? (
}${BASE_URL_API}files/images/${content}`})
diff --git a/src/frontend/src/modals/IOModal/components/chatView/filePreviewChat/index.tsx b/src/frontend/src/modals/IOModal/components/chatView/filePreviewChat/index.tsx
index 704efae0f..504d3fe24 100644
--- a/src/frontend/src/modals/IOModal/components/chatView/filePreviewChat/index.tsx
+++ b/src/frontend/src/modals/IOModal/components/chatView/filePreviewChat/index.tsx
@@ -3,6 +3,8 @@ import IconComponent, {
ForwardedIconComponent,
} from "../../../../../components/genericIconComponent";
import formatFileName from "./utils/format-file-name";
+import { loadingFileComponent } from "./components/loadingFileComponent/loadingFileComponent";
+import { Skeleton } from "../../../../../components/ui/skeleton";
export default function FilePreview({
error,
@@ -22,24 +24,40 @@ export default function FilePreview({
return (
{loading ? (
-
+ ) : (
+
+
+
+ )
) : error ? (
Error...
) : (