Created specific NonRepeatableComponent

This commit is contained in:
soupette 2019-11-05 11:53:25 +01:00 committed by Alexandre Bodin
parent dea12b0631
commit e51bdba352
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import Label from './Label';
import Reset from './ResetComponent';
import Wrapper from './Wrapper';
import NonRepeatableComponent from './NonRepeatableComponent';
import NonRepeatableComponent from '../NonRepeatableComponent';
const FieldComponent = ({ componentUid, isRepeatable, label, name }) => {
const {

View File

@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { get } from 'lodash';
import NonRepeatableWrapper from '../NonRepeatableWrapper';
import Inputs from '../Inputs';
import FieldComponent from './index';
import FieldComponent from '../FieldComponent';
const NonRepeatableComponent = ({ fields, name, schema }) => {
const getField = fieldName =>