diff --git a/src/app/(authed)/(standard)/forms/[formId]/AnswerForm.tsx b/src/app/(authed)/(standard)/forms/[formId]/_components/AnswerForm.tsx similarity index 99% rename from src/app/(authed)/(standard)/forms/[formId]/AnswerForm.tsx rename to src/app/(authed)/(standard)/forms/[formId]/_components/AnswerForm.tsx index 17de73e4..c9be9aa0 100644 --- a/src/app/(authed)/(standard)/forms/[formId]/AnswerForm.tsx +++ b/src/app/(authed)/(standard)/forms/[formId]/_components/AnswerForm.tsx @@ -23,7 +23,7 @@ import { } from '@mui/material'; import { useState } from 'react'; import { useForm } from 'react-hook-form'; -import type { FormQuestion } from '../../../../../_schemas/formSchema'; +import type { FormQuestion } from '../../../../../../_schemas/formSchema'; import type { NonEmptyArray } from '@/generic/Types'; interface Props { diff --git a/src/app/(authed)/(standard)/forms/[formId]/page.tsx b/src/app/(authed)/(standard)/forms/[formId]/page.tsx index 6f816402..ff6ac0c0 100644 --- a/src/app/(authed)/(standard)/forms/[formId]/page.tsx +++ b/src/app/(authed)/(standard)/forms/[formId]/page.tsx @@ -2,7 +2,7 @@ import { redirect } from 'next/navigation'; import useSWR from 'swr'; -import AnswerForm from './AnswerForm'; +import AnswerForm from './_components/AnswerForm'; import type { GetQuestionsResponse } from '@/app/api/_schemas/ResponseSchemas'; const Home = ({ params }: { params: { formId: number } }) => {