Browse Source

fix: Fixed link example.

master
Denis Thiessen 6 months ago
parent
commit
e24f315c57
  1. 4
      src/pages/TestQuestionnaire.jsx

4
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];

Loading…
Cancel
Save