From 3e55b9dd21a62060b43053c09412b28c95f62b02 Mon Sep 17 00:00:00 2001 From: Li Xin Date: Thu, 1 May 2025 14:13:27 +0800 Subject: [PATCH] feat: remove animation --- web/src/app/_components/message-list-view.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/web/src/app/_components/message-list-view.tsx b/web/src/app/_components/message-list-view.tsx index 2734489..0775bb1 100644 --- a/web/src/app/_components/message-list-view.tsx +++ b/web/src/app/_components/message-list-view.tsx @@ -165,11 +165,7 @@ function MessageListItem({ >
- - {message?.content} - + {message?.content}
@@ -210,7 +206,7 @@ function MessageListItem({ className={cn( `flex w-fit max-w-[85%] flex-col rounded-2xl px-4 py-3 shadow`, message.role === "user" && - "text-primary-foreground bg-brand rounded-ee-none", + "text-primary-foreground bg-brand rounded-ee-none", message.role === "assistant" && "bg-card rounded-es-none", className, )} @@ -319,10 +315,11 @@ function PlanCard({ - {`### ${plan.title !== undefined && plan.title !== "" - ? plan.title - : "Deep Research" - }`} + {`### ${ + plan.title !== undefined && plan.title !== "" + ? plan.title + : "Deep Research" + }`}