diff --git a/inertia/components/form/form_collection.tsx b/inertia/components/form/form_collection.tsx index c3c5b5a..833f5f6 100644 --- a/inertia/components/form/form_collection.tsx +++ b/inertia/components/form/form_collection.tsx @@ -21,7 +21,7 @@ interface FormCollectionProps extends FormLayoutProps { handleSubmit: () => void; } -export function MantineFormCollection({ +export function FormCollection({ data, errors, disableInputs = false, diff --git a/inertia/pages/collections/create.tsx b/inertia/pages/collections/create.tsx index 5cc52ac..3acbf1a 100644 --- a/inertia/pages/collections/create.tsx +++ b/inertia/pages/collections/create.tsx @@ -2,7 +2,8 @@ import { useForm } from '@inertiajs/react'; import { route } from '@izzyjs/route/client'; import { useMemo } from 'react'; import { useTranslation } from 'react-i18next'; -import MantineFormCollection, { +import { + FormCollection, FormCollectionData, } from '~/components/form/form_collection'; import { Visibility } from '~/types/app'; @@ -29,7 +30,7 @@ export default function CreateCollectionPage({ }; return ( -