--
This commit is contained in:
parent
929e6047cf
commit
c396752ce6
@ -3,6 +3,7 @@ import { ResultSettings } from "./ResultSettings";
|
|||||||
import {
|
import {
|
||||||
decrementCurrentStep,
|
decrementCurrentStep,
|
||||||
incrementCurrentStep,
|
incrementCurrentStep,
|
||||||
|
setCurrentStep,
|
||||||
} from "@root/quizes/actions";
|
} from "@root/quizes/actions";
|
||||||
import { Box, Button } from "@mui/material";
|
import { Box, Button } from "@mui/material";
|
||||||
import ArrowLeft from "@icons/questionsPage/arrowLeft";
|
import ArrowLeft from "@icons/questionsPage/arrowLeft";
|
||||||
|
@ -27,7 +27,7 @@ export const useAfterPay = () => {
|
|||||||
if (quizId) {
|
if (quizId) {
|
||||||
setEditQuizId(Number(quizId));
|
setEditQuizId(Number(quizId));
|
||||||
setCurrentStep(17); // Шаг для персонализации AI
|
setCurrentStep(17); // Шаг для персонализации AI
|
||||||
navigate("/edit");
|
navigate("/personalization-ai");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [wayback, navigate]);
|
}, [wayback, navigate]);
|
||||||
|
Loading…
Reference in New Issue
Block a user