diff --git a/src/app/[id]/create/page.tsx b/src/app/[id]/create/page.tsx index 760ea21..ec11781 100644 --- a/src/app/[id]/create/page.tsx +++ b/src/app/[id]/create/page.tsx @@ -9,14 +9,13 @@ import {Field, Form, Formik} from 'formik'; import {useRouter, useSearchParams} from 'next/navigation'; import {Button} from '@nextui-org/button'; import {NotFoundError} from '@/models/Errors'; -import {Table, TableBody, TableCell, TableColumn, TableHeader, TableRow} from '@nextui-org/table'; -import NumberInputWithButtons from '@/components/NumberInput'; import SuccessModal from '@/components/SuccessModal'; import {FaArrowAltCircleLeft, FaSave} from 'react-icons/fa'; import {Textarea} from '@nextui-org/input'; -import {validateBetweenZeroAndFive} from '@/utils/validationUtils'; import ErrorModal from '@/components/ErrorModal'; import {Spinner} from '@nextui-org/react'; +import ContactInformationForm from '@/components/ContactInformationForm'; +import ReleasePatternForm from '@/components/ReleasePatternForm'; export default function Page({params}: { params: { id: string } }) { const router = useRouter(); @@ -129,177 +128,16 @@ export default function Page({params}: { params: { id: string } }) { }) => (