Skip to content

Commit

Permalink
Merge pull request #991 from cozy/feat/VER-595
Browse files Browse the repository at this point in the history
fix: Show remove logic in contact form
  • Loading branch information
JF-Cozy committed May 16, 2024
2 parents 6a73a73 + 081aa25 commit f0181c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ContactFormField = ({ name, icon, isArray, renderInput }) => {
name,
renderInput
) => {
const showRemove = fields.length > 1
const showRemove = fields.value[index]?.[name]

return (
<div key={nameWithIndex} className="u-mt-1 u-flex u-pos-relative">
Expand Down

0 comments on commit f0181c9

Please sign in to comment.