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:
@@ -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: () => {
|
||||||
|
Reference in New Issue
Block a user