Skip to content

Commit

Permalink
Merge pull request #47 from suisin-deriv/suisin/74155/ts_migration_co…
Browse files Browse the repository at this point in the history
…nstants.js

Suisin/refactor: ts migration for constants.js
  • Loading branch information
shayan-deriv committed Nov 27, 2022
2 parents aea5595 + 730c399 commit 0743c01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { localize } from '@deriv/translations';
import { FormikValues } from 'formik';

export const ROOT_CLASS = 'manual-poi-details';

Expand Down Expand Up @@ -33,7 +34,7 @@ const date_field = {
required: true,
};

export const getDocumentIndex = ({ country_code }) => [
export const getDocumentIndex = ({ country_code }: FormikValues) => [
{
onfido_name: 'Passport',
card: {
Expand Down

0 comments on commit 0743c01

Please sign in to comment.