Skip to content

Commit

Permalink
refactor: change FormikValues to more specific values for data
Browse files Browse the repository at this point in the history
  • Loading branch information
suisin-deriv committed Dec 1, 2022
1 parent ab74ad2 commit d80dcc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const DocumentsUpload = ({
{fields_title}
</Text>
<div className={`${ROOT_CLASS}__fields-wrap`}>
{fields.map((field: FormikValues) => (
{fields?.map((field: FormikValues) => (
<InputField key={field.name} data={field} />
))}
</div>
Expand Down

0 comments on commit d80dcc7

Please sign in to comment.