When the user creates an account or log in, he is redirected to the dashboard page.
But the dashboard function looks for the current lesson (inexistent for the moment ) and sent this value in the front.
Solution:
add a condition to check the current lesson, and inject it only if exists.
When the user creates an account or log in, he is redirected to the dashboard page. But the dashboard function looks for the current lesson (inexistent for the moment ) and sent this value in the front.
Solution: add a condition to check the current lesson, and inject it only if exists.