I forgot to comment

This commit is contained in:
lovelytransgirl 2025-06-18 01:00:48 +07:00
parent 6bd94e49e8
commit b4331b5bcb

View file

@ -52,8 +52,8 @@ function VitualNovelHandler() {
console.log(nextstep) console.log(nextstep)
if (typeof nextstep !== 'number' || Number.isNaN(nextstep)) { if (typeof nextstep !== 'number' || Number.isNaN(nextstep)) {
navigate(`/end`);//44 is last page navigate(`/end`);//44 is last page
console.log("currentStep:", currentStep); // console.log("currentStep:", currentStep);
console.log("data at currentStep:", data[currentStep]); // console.log("data at currentStep:", data[currentStep]);
} }
else{ else{
setCurrentStep(nextstep); setCurrentStep(nextstep);