diff --git a/apps/gacha/src/app/_components/form/modal-form-register.tsx b/apps/gacha/src/app/_components/form/modal-form-register.tsx
index 37269ac..6116bc1 100644
--- a/apps/gacha/src/app/_components/form/modal-form-register.tsx
+++ b/apps/gacha/src/app/_components/form/modal-form-register.tsx
@@ -3,6 +3,8 @@ import { InputField, Modal } from '@imphnen-frontend-service/ui/molecules';
import { useQueryState } from '@imphnen-frontend-service/utils';
import { useRegister } from '../../_hooks/use-register';
import { ControlledInputField } from '@imphnen-frontend-service/ui/organisms';
+import { UseFormReturn } from 'react-hook-form';
+import { TRegisterRequest } from '@imphnen-frontend-service/service';
interface IModalFormRegisterProps {
isOpen: boolean;
@@ -46,9 +48,7 @@ const ModalFormRegister = ({ isOpen, onClose }: IModalFormRegisterProps) => {
{currentStep === 1 && (
)}
- {currentStep === 2 && (
-
- )}
+ {currentStep === 2 && }
@@ -56,7 +56,7 @@ const ModalFormRegister = ({ isOpen, onClose }: IModalFormRegisterProps) => {
};
interface IStepOneProps {
- form: any;
+ form: UseFormReturn;
nextStep: () => void;
onClose: () => void;
}
@@ -106,12 +106,11 @@ const StepOne = ({ form, nextStep, onClose }: IStepOneProps) => (
);
interface IStepTwoProps {
- form: any;
- nextStep: () => void;
+ form: UseFormReturn;
prevStep: () => void;
}
-const StepTwo = ({ form, nextStep, prevStep }: IStepTwoProps) => (
+const StepTwo = ({ form, prevStep }: IStepTwoProps) => (
<>
(
-