From e24f315c57114b5967f45973113e43e5437f6329 Mon Sep 17 00:00:00 2001 From: Denis Thiessen Date: Sun, 5 May 2024 18:35:53 +0200 Subject: [PATCH] fix: Fixed link example. --- src/pages/TestQuestionnaire.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/TestQuestionnaire.jsx b/src/pages/TestQuestionnaire.jsx index a426968..55e3d8f 100644 --- a/src/pages/TestQuestionnaire.jsx +++ b/src/pages/TestQuestionnaire.jsx @@ -7,8 +7,8 @@ import { useQuestionComponent } from "../components/questionnaire/QuestionnaireD export default function TestQuestionnaire() { const { id } = useParams() - const q1Props = useQuestionComponent("checkbox", 4, "Lorem Ipsum", "./info", "./q2"); - const q2Props = useQuestionComponent("slider", 8, "Lorem Ipsum Ye", "./q1", "./info"); + const q1Props = useQuestionComponent("checkbox", 4, "Lorem Ipsum", "/info", "./q2"); + const q2Props = useQuestionComponent("slider", 8, "Lorem Ipsum Ye", "./q1", "/info"); const questionProperties = {"q1": q1Props, "q2": q2Props}; const questionProperty = questionProperties[id];