Implementation of storing input name in sessionStorage and Implementation of /vs/:char/:step #1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue