Skip to content

Commit 65eb9c3

Browse files
committed
fix: small fixups in tanchat
1 parent f4af526 commit 65eb9c3

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

frameworks/react-cra/examples/tanchat/assets/src/components/example-AIAssistant.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ function Messages({ messages }: { messages: Array<UIMessage> }) {
6060
Y
6161
</div>
6262
)}
63-
<div className="flex-1 min-w-0">
63+
<div className="flex-1 min-w-0 text-white prose dark:prose-invert max-w-none prose-sm">
6464
<ReactMarkdown
65-
className="prose dark:prose-invert max-w-none prose-sm"
6665
rehypePlugins={[
6766
rehypeRaw,
6867
rehypeSanitize,

frameworks/react-cra/examples/tanchat/assets/src/routes/demo/tanchat.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@ function Messages({ messages }: { messages: Array<UIMessage> }) {
8080
{parts.map((part, index) => {
8181
if (part.type === 'text') {
8282
return (
83-
<div className="flex-1 min-w-0" key={index}>
83+
<div
84+
className="flex-1 min-w-0 prose dark:prose-invert max-w-none prose-sm"
85+
key={index}
86+
>
8487
<ReactMarkdown
85-
className="prose dark:prose-invert max-w-none"
8688
rehypePlugins={[
8789
rehypeRaw,
8890
rehypeSanitize,

packages/cta-engine/src/create-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Use the following commands to start your app:
251251
getPackageManagerScriptCommand(options.packageManager, ['dev']),
252252
)}
253253
254-
Please read the README.md for information on testing, styling, adding routes, etc.${errorStatement}`,
254+
Please check the README.md for information on testing, styling, adding routes, etc.${errorStatement}`,
255255
)
256256
}
257257

0 commit comments

Comments
 (0)