From b6789b582679256bd7a92a2cb73e046903e5f5cb Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Mon, 11 Dec 2017 18:53:22 -0700 Subject: [PATCH] Allow PropType of array for RightColumn children --- src/components/structure/RightColumn.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structure/RightColumn.jsx b/src/components/structure/RightColumn.jsx index cd94bc8..0320e73 100644 --- a/src/components/structure/RightColumn.jsx +++ b/src/components/structure/RightColumn.jsx @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; export const RightColumn = (props) => { PropTypes.checkPropTypes({ formIsDisplayed: PropTypes.bool.isRequired, - children: PropTypes.object, + children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), }, props, 'prop', 'RightColumn'); const { formIsDisplayed } = props;