diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx
index f93ebebd25f4ef1814661dda6163ab4166b8f115..8cfc3c535b4930d56b83e6e21fc1c77ce40b43c4 100644
--- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx
+++ b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx
@@ -210,7 +210,6 @@ function displayFromFile(file) {
     case "js":
     case "jsx":
     case "cpp":
-    case "c":
     case "c":
       return { iconBgColor: "bg-warn", Icon: FileCode };
     case "png":