Title and difficulty to refresh also

refactor/ai-courses
Kamran Ahmed 1 month ago
parent 834f6c634b
commit 3b01fb209e
  1. 2
      src/components/GenerateCourse/GetAICourse.tsx

@ -72,6 +72,8 @@ export function GetAICourse(props: GetAICourseProps) {
getAiCourseOptions({ aiCourseSlug: courseSlug }).queryKey, getAiCourseOptions({ aiCourseSlug: courseSlug }).queryKey,
{ {
...aiCourse, ...aiCourse,
title: course.title,
difficulty: course.difficulty,
data: rawData, data: rawData,
}, },
); );

Loading…
Cancel
Save