summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src')
-rw-r--r--packages/gitbook-plugin-theme-default/src/Summary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/Summary.js b/packages/gitbook-plugin-theme-default/src/Summary.js
index 13b74c1..e95b4b4 100644
--- a/packages/gitbook-plugin-theme-default/src/Summary.js
+++ b/packages/gitbook-plugin-theme-default/src/Summary.js
@@ -21,7 +21,7 @@ const SummaryArticle = React.createClass({
const SummaryArticles = React.createClass({
propTypes: {
- articles: React.PropTypes.arrayOf(GitBook.Shapes.SummaryArticle)
+ articles: GitBook.Shapes.listOf(GitBook.Shapes.SummaryArticle)
},
render() {
@@ -59,7 +59,7 @@ const SummaryPart = React.createClass({
const SummaryParts = React.createClass({
propTypes: {
- parts: React.PropTypes.arrayOf(GitBook.Shapes.SummaryPart)
+ parts: GitBook.Shapes.listOf(GitBook.Shapes.SummaryPart)
},
render() {