(fields)
| 12 | } |
| 13 | |
| 14 | function internalFlattenFields(fields) { |
| 15 | return flattenFields( |
| 16 | fields, |
| 17 | (_, node) => isFormField(node), |
| 18 | 'You must wrap field data with `createFormField`.' |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | class FieldsStore { |
| 23 | constructor(fields) { |
no test coverage detected