fix: import path
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ import {
|
||||
AIDisplayFeedPart,
|
||||
AIDisplaySubscriptionsPart,
|
||||
} from "../displays"
|
||||
import { AIMarkdownStreamingMessage } from "./AIMarkdownMessage.v2"
|
||||
import { AIMarkdownStreamingMessage } from "./AIMarkdownMessage"
|
||||
|
||||
const LazyAIDisplayFlowPart = React.lazy(() =>
|
||||
import("../displays/AIDisplayFlowPart").then((mod) => ({ default: mod.AIDisplayFlowPart })),
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@ import * as React from "react"
|
||||
|
||||
import type { BizUIMessage } from "~/modules/ai-chat/store/types"
|
||||
|
||||
import { AIMarkdownMessage } from "./AIMarkdownMessage.old"
|
||||
import { AIMarkdownStreamingMessage } from "./AIMarkdownMessage"
|
||||
import { AIRichTextMessage } from "./AIRichTextMessage"
|
||||
|
||||
interface UserMessagePartsProps {
|
||||
@@ -15,7 +15,7 @@ export const UserMessageParts: React.FC<UserMessagePartsProps> = React.memo(({ m
|
||||
|
||||
switch (part.type) {
|
||||
case "text": {
|
||||
return <AIMarkdownMessage key={partKey} text={part.text} />
|
||||
return <AIMarkdownStreamingMessage key={partKey} text={part.text} />
|
||||
}
|
||||
|
||||
case "data-block": {
|
||||
|
||||
Reference in New Issue
Block a user