diff --git a/packages/developer-portal/src/components/pages/settings/settings-billing-tab/accounts-information-form/direct-debit-section.tsx b/packages/developer-portal/src/components/pages/settings/settings-billing-tab/accounts-information-form/direct-debit-section.tsx index cd668b198b..3cf33dadd3 100644 --- a/packages/developer-portal/src/components/pages/settings/settings-billing-tab/accounts-information-form/direct-debit-section.tsx +++ b/packages/developer-portal/src/components/pages/settings/settings-billing-tab/accounts-information-form/direct-debit-section.tsx @@ -19,24 +19,26 @@ const { statusField, hasDirectDebitField } = formFields export type DirectDebitSectionProps = { setFieldValue: (field: string, value: any, shouldValidate?: boolean | undefined) => void values: AccountsInformationFormValues - setIsSubmittedDebit: React.Dispatch + setIsSubmittedDebit: React.Dispatch> } type DirectDebitModalProps = Pick & { onFinish: () => any } -export const handleToggleModal = (setIsOpenDirectDebitModal: React.Dispatch, state: boolean) => () => - setIsOpenDirectDebitModal(state) +export const handleToggleModal = ( + setIsOpenDirectDebitModal: React.Dispatch>, + state: boolean, +) => () => setIsOpenDirectDebitModal(state) export const handleFinish = ({ setIsOpenDirectDebitModal, setFieldValue, setIsSubmittedDebit, }: { - setIsOpenDirectDebitModal: React.Dispatch + setIsOpenDirectDebitModal: React.Dispatch> setFieldValue: DirectDebitSectionProps['setFieldValue'] - setIsSubmittedDebit: React.Dispatch + setIsSubmittedDebit: React.Dispatch> }) => () => { setIsOpenDirectDebitModal(false) setFieldValue(statusField.name, 'pending') diff --git a/packages/developer-portal/src/tests/badges/badge-functions.svg b/packages/developer-portal/src/tests/badges/badge-functions.svg index f7c4869db6..4ea3f12398 100644 --- a/packages/developer-portal/src/tests/badges/badge-functions.svg +++ b/packages/developer-portal/src/tests/badges/badge-functions.svg @@ -1 +1 @@ -Coverage:functions: 80.8%Coverage:functions80.8% \ No newline at end of file +Coverage:functions: 80.86%Coverage:functions80.86% \ No newline at end of file diff --git a/packages/developer-portal/src/tests/badges/badge-lines.svg b/packages/developer-portal/src/tests/badges/badge-lines.svg index 3df6e8c725..a9ccd45f51 100644 --- a/packages/developer-portal/src/tests/badges/badge-lines.svg +++ b/packages/developer-portal/src/tests/badges/badge-lines.svg @@ -1 +1 @@ -Coverage:lines: 89.91%Coverage:lines89.91% \ No newline at end of file +Coverage:lines: 89.93%Coverage:lines89.93% \ No newline at end of file diff --git a/packages/developer-portal/src/tests/badges/badge-statements.svg b/packages/developer-portal/src/tests/badges/badge-statements.svg index 313ce3ab00..2a8f3ca5f8 100644 --- a/packages/developer-portal/src/tests/badges/badge-statements.svg +++ b/packages/developer-portal/src/tests/badges/badge-statements.svg @@ -1 +1 @@ -Coverage:statements: 89.06%Coverage:statements89.06% \ No newline at end of file +Coverage:statements: 89.08%Coverage:statements89.08% \ No newline at end of file