fix: enqueue progress calculation after validating enrollments

This commit is contained in:
Jannat Patel
2026-02-24 18:13:02 +05:30
parent 3088b14d83
commit eb33155db2
2 changed files with 6 additions and 4 deletions

View File

@@ -743,7 +743,6 @@ const updateVideoTime = (video) => {
const startTimer = () => {
if (!lesson.data?.membership) return
timerInterval = setInterval(() => {
console.log('Timer:', timer.value)
timer.value++
if (timer.value == 30) {
clearInterval(timerInterval)