mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 00:21:28 +02:00
fix: next lesson
This commit is contained in:
@@ -477,6 +477,11 @@ export function AICourseLesson(props: AICourseLessonProps) {
|
||||
<div>
|
||||
<button
|
||||
onClick={() => {
|
||||
if (!isLoggedIn()) {
|
||||
onGoToNextLesson();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!isLessonDone) {
|
||||
toggleDone(undefined, {
|
||||
onSuccess: () => {
|
||||
|
Reference in New Issue
Block a user