diff --git a/src/components/File.tsx b/src/components/File.tsx index f852be9..60f9e4a 100644 --- a/src/components/File.tsx +++ b/src/components/File.tsx @@ -19,26 +19,28 @@ const formatSize = (bytes: number) => { export default component$(({ file }: FileProps) => { return ( -
- { file.Base64 && (file.ID.endsWith(".png") || file.ID.endsWith(".jpg") || file.ID.endsWith(".jpeg")) && ( - {file.ID} - )} -
-

- {file.ID.split("_").slice(1).join("_") || "Untitled"} -

- + ) }) \ No newline at end of file