File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
apps/webapp/app/components Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { ShortcutKey } from "./primitives/ShortcutKey";
2020import { Spinner } from "./primitives/Spinner" ;
2121import { SimpleTooltip } from "./primitives/Tooltip" ;
2222import { Tooltip , TooltipContent , TooltipProvider , TooltipTrigger } from "./primitives/Tooltip" ;
23+ import { Callout } from "./primitives/Callout" ;
2324
2425type KapaChatProps = {
2526 websiteId : string ;
@@ -225,13 +226,12 @@ function ChatMessages({
225226 ) }
226227 { error && (
227228 < div className = "flex flex-col" >
228- < Paragraph spacing className = "text-error" >
229- Error generating answer
230- </ Paragraph >
231- < Paragraph className = "text-text-dimmed" > { error } </ Paragraph >
232- < Paragraph spacing >
233- Please try again. If the problem persists, please contact support.
234- </ Paragraph >
229+ < Callout variant = "error" className = "mb-4" >
230+ < Paragraph className = "font-semibold text-error" > Error generating answer:</ Paragraph >
231+ < Paragraph className = "text-rose-300" >
232+ { error } Please try again. If the problem persists, please contact support.
233+ </ Paragraph >
234+ </ Callout >
235235 < Button
236236 variant = "secondary/small"
237237 LeadingIcon = { < ArrowPathIcon className = "size-4" /> }
You can’t perform that action at this time.
0 commit comments