Spaces:
Sleeping
Sleeping
Commit ·
7bb65d9
1
Parent(s): 2e63a82
don't need to show the question counter at the top.
Browse files
src/components/chatbot/chatbot.tsx
CHANGED
|
@@ -291,11 +291,11 @@ export function Chatbot({ imageDataUri, journeyTitle, onOpenSummaryDialog }: Cha
|
|
| 291 |
return (
|
| 292 |
<div className="flex h-full flex-col rounded-lg border bg-card shadow-xl">
|
| 293 |
<div className="border-b p-4">
|
| 294 |
-
<h2 className="font-headline text-lg font-semibold text-center">AI Chat Helper
|
| 295 |
</div>
|
| 296 |
<ScrollArea className="flex-1 p-4" ref={scrollAreaRef}>
|
| 297 |
<div className="space-y-4">
|
| 298 |
-
{messages.map((msg
|
| 299 |
const isLastMessageTheActiveMCQ =
|
| 300 |
msg.type === 'mcq' &&
|
| 301 |
currentMCQ &&
|
|
|
|
| 291 |
return (
|
| 292 |
<div className="flex h-full flex-col rounded-lg border bg-card shadow-xl">
|
| 293 |
<div className="border-b p-4">
|
| 294 |
+
<h2 className="font-headline text-lg font-semibold text-center">AI Chat Helper</h2>
|
| 295 |
</div>
|
| 296 |
<ScrollArea className="flex-1 p-4" ref={scrollAreaRef}>
|
| 297 |
<div className="space-y-4">
|
| 298 |
+
{messages.map((msg) => {
|
| 299 |
const isLastMessageTheActiveMCQ =
|
| 300 |
msg.type === 'mcq' &&
|
| 301 |
currentMCQ &&
|