1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-25 16:39:02 +02:00

fix: next lesson

This commit is contained in:
Arik Chakma
2025-04-12 01:32:57 +06:00
parent 74c20a66fc
commit c28593142e

View File

@@ -477,6 +477,11 @@ export function AICourseLesson(props: AICourseLessonProps) {
<div> <div>
<button <button
onClick={() => { onClick={() => {
if (!isLoggedIn()) {
onGoToNextLesson();
return;
}
if (!isLessonDone) { if (!isLessonDone) {
toggleDone(undefined, { toggleDone(undefined, {
onSuccess: () => { onSuccess: () => {