на главную из установки квиза
This commit is contained in:
parent
262337272f
commit
6273e62e66
@ -3,8 +3,10 @@ import { decrementCurrentStep } from "@root/quizes/actions";
|
|||||||
import ArrowLeft from "@/assets/icons/questionsPage/arrowLeft";
|
import ArrowLeft from "@/assets/icons/questionsPage/arrowLeft";
|
||||||
import QuizInstallationCard from "./QuizInstallationCard/QuizInstallationCard";
|
import QuizInstallationCard from "./QuizInstallationCard/QuizInstallationCard";
|
||||||
import QuizLinkCard from "./QuizLinkCard";
|
import QuizLinkCard from "./QuizLinkCard";
|
||||||
|
import { useNavigate } from "react-router-dom";
|
||||||
|
|
||||||
export default function InstallQuiz() {
|
export default function InstallQuiz() {
|
||||||
|
const navigate = useNavigate();
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Box
|
<Box
|
||||||
@ -33,6 +35,11 @@ export default function InstallQuiz() {
|
|||||||
>
|
>
|
||||||
<ArrowLeft />
|
<ArrowLeft />
|
||||||
</Button>
|
</Button>
|
||||||
|
<Button
|
||||||
|
variant="contained"
|
||||||
|
sx={{ padding: "10px 20px", borderRadius: "8px" }}
|
||||||
|
onClick={() => navigate("/list")}
|
||||||
|
>На главную</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user