src/ConnectedFieldArray.js
Function createConnectedFieldArray
has 148 lines of code (exceeds 100 allowed). Consider refactoring. Open
Open
export default function createConnectedFieldArray(structure: Structure<any, any>) {
const { deepEqual, getIn, size, equals, orderChanged } = structure
const getSyncError = (syncErrors: Object, name: string) => {
// For an array, the error can _ONLY_ be under _error.
// This is why this getSyncError is not the same as the