diff --git a/src/page-modules/contact/ticket-control/forms/feeComplaintForm.tsx b/src/page-modules/contact/ticket-control/forms/feeComplaintForm.tsx index 3f1a1029..18eabe05 100644 --- a/src/page-modules/contact/ticket-control/forms/feeComplaintForm.tsx +++ b/src/page-modules/contact/ticket-control/forms/feeComplaintForm.tsx @@ -16,7 +16,7 @@ type FeeComplaintFormProps = { send: (event: typeof ticketControlFormEvents) => void; }; -type FirstAgreementProps = FeeComplaintFormProps; +type FirstAgreementProps = Pick; const FirstAgreement = ({ state, send }: FirstAgreementProps) => { const { t } = useTranslation(); @@ -64,7 +64,7 @@ const FirstAgreement = ({ state, send }: FirstAgreementProps) => { ); }; -type SecondAgreementProps = FeeComplaintFormProps; +type SecondAgreementProps = Pick; const SecondAgreement = ({ state, send }: SecondAgreementProps) => { const { t } = useTranslation(); @@ -104,8 +104,7 @@ const SecondAgreement = ({ state, send }: SecondAgreementProps) => { ); }; -type FormProps = FeeComplaintFormProps; - +type FormProps = Pick; const FormContent = ({ state, send }: FormProps) => { const { t } = useTranslation(); return (