Skip to content

Commit

Permalink
Merge pull request #7123 from marmelab/fix-reorder
Browse files Browse the repository at this point in the history
Fix `SimpleFormIterator` assigns items indexes incorrectly
  • Loading branch information
djhi authored Jan 21, 2022
2 parents 7f0aac1 + d9ba628 commit aa49b6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const SimpleFormIterator = (props: SimpleFormIteratorProps) => {
{fields.map((member, index) => (
<CSSTransition
nodeRef={nodeRef}
key={ids.current[index]}
key={index}
timeout={500}
classNames="fade"
{...TransitionProps}
Expand Down

0 comments on commit aa49b6d

Please sign in to comment.