diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx index ee6155ab2c..29d346333e 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx @@ -10,7 +10,6 @@ import { WarningOctagon, X, } from "@phosphor-icons/react"; -import { humanFileSize } from "@/utils/numbers"; import { REMOVE_ATTACHMENT_EVENT } from "../../DnDWrapper"; import { Tooltip } from "react-tooltip"; @@ -21,7 +20,7 @@ import { Tooltip } from "react-tooltip"; export default function AttachmentManager({ attachments }) { if (attachments.length === 0) return null; return ( -
{file.name}
-- {humanFileSize(file.size)} +
+ {file.name} +
++ Uploading...
+
{file.name}
-- {error ?? "this file failed to upload"}. It will not be available - in the workspace. +
+ {error ?? "File not embedded!"}
+
{file.name}
-+
Image attached!
{file.name}
-+
+ {file.name} +
+File embedded!