MCPcopy Create free account
hub / github.com/stackblitz/bolt.new / UserMessage

Function UserMessage

app/components/chat/UserMessage.tsx:8–14  ·  view source on GitHub ↗
({ content }: UserMessageProps)

Source from the content-addressed store, hash-verified

6}
7
8export function UserMessage({ content }: UserMessageProps) {
9 return (
10 <div className="overflow-hidden pt-[4px]">
11 <Markdown limitedMarkdown>{sanitizeUserMessage(content)}</Markdown>
12 </div>
13 );
14}
15
16function sanitizeUserMessage(content: string) {
17 return content.replace(modificationsRegex, '').trim();

Callers

nothing calls this directly

Calls 1

sanitizeUserMessageFunction · 0.85

Tested by

no test coverage detected