Framer motion Reorder component issue with react state of an array of objects i have a state that gets an array of objects each object is in this form