Kaynağa Gözat

BugFix props

Yuki Takei 7 yıl önce
ebeveyn
işleme
0cf63ba22f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/client/js/components/PageList/Page.jsx

+ 1 - 1
src/client/js/components/PageList/Page.jsx

@@ -43,7 +43,7 @@ Page.propTypes = {
   page: PropTypes.object.isRequired,
   linkTo: PropTypes.string,
   excludePathString: PropTypes.string,
-  children: PropTypes.element,
+  children: PropTypes.array,
 };
 
 Page.defaultProps = {