diff --git a/app/survey/[id]/components/AnswerForm.tsx b/app/survey/[id]/components/AnswerForm.tsx index 6c2ff15..0622b87 100644 --- a/app/survey/[id]/components/AnswerForm.tsx +++ b/app/survey/[id]/components/AnswerForm.tsx @@ -12,7 +12,7 @@ import NumberInput from '@/app/create-survey/components/NumberInput' import TextInput from '@/app/create-survey/components/TextInput' import YesOrNo from '@/app/create-survey/components/YesOrNo' -const AnswerForm = ({ question }: { question: Question }) => { +const AnswerForm = () => { const { questions, answers, setAnswers, currentQuestionNumber, setCurrentQuestionNumber } = useAppContext() const moveToNextQuestion = () => { diff --git a/app/survey/[id]/page.tsx b/app/survey/[id]/page.tsx index e0ff535..ca19af9 100644 --- a/app/survey/[id]/page.tsx +++ b/app/survey/[id]/page.tsx @@ -28,7 +28,7 @@ export default function FillSurvey() {

{name}

- +
)