From e8f5a066768977f2defe0129ccb67b3fe1d88356 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Tue, 24 Jun 2025 17:43:12 +0100 Subject: [PATCH] Add question answers --- .astro/types.d.ts | 1 + .../ContentGenerator/ContentGenerator.tsx | 9 ++- .../ContentGenerator/QuestionAnswerChat.tsx | 63 ++++++++++++------- 3 files changed, 48 insertions(+), 25 deletions(-) diff --git a/.astro/types.d.ts b/.astro/types.d.ts index f964fe0cf..03d7cc43f 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -1 +1,2 @@ /// +/// \ No newline at end of file diff --git a/src/components/ContentGenerator/ContentGenerator.tsx b/src/components/ContentGenerator/ContentGenerator.tsx index 3bcaf4451..6c317ee36 100644 --- a/src/components/ContentGenerator/ContentGenerator.tsx +++ b/src/components/ContentGenerator/ContentGenerator.tsx @@ -19,6 +19,7 @@ import { type QuestionAnswerChatMessage, } from './QuestionAnswerChat'; import { useToast } from '../../hooks/use-toast'; +import { cn } from '../../lib/classname'; const allowedFormats = ['course', 'guide', 'roadmap'] as const; export type AllowedFormat = (typeof allowedFormats)[number]; @@ -159,7 +160,12 @@ export function ContentGenerator() {