fix: unify chat process and reply presentation
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { copySelectedParagraph } from "@/shared/ai-elements/paragraph-copy";
|
||||
|
||||
export function AgentUserMessageText({ content }: { content: string }) {
|
||||
return <p className="whitespace-pre-wrap" onCopy={(event) => copySelectedParagraph(event, event.currentTarget)}>{content}</p>;
|
||||
}
|
||||
Reference in New Issue
Block a user