Skip to content

Commit ed843f3

Browse files
committed
fix(renderer): do not use common to import PropTypes.node
1 parent 8ddff97 commit ed843f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react-form-renderer/src/form-renderer/render-form.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { useContext } from 'react';
22
import PropTypes from 'prop-types';
3-
import { childrenPropTypes } from '@data-driven-forms/common/prop-types-templates';
43
import RendererContext from '../renderer-context';
54
import Condition from '../condition';
65
import FormSpy from '../form-spy';
@@ -31,7 +30,7 @@ const FormConditionWrapper = ({ condition, children, field }) =>
3130

3231
FormConditionWrapper.propTypes = {
3332
condition: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
34-
children: childrenPropTypes.isRequired,
33+
children: PropTypes.node.isRequired,
3534
field: PropTypes.object
3635
};
3736

0 commit comments

Comments
 (0)