equal
deleted
inserted
replaced
86 documentsMap: PropTypes.arrayOf(PropTypes.object).isRequired, |
86 documentsMap: PropTypes.arrayOf(PropTypes.object).isRequired, |
87 otherDocuments: PropTypes.arrayOf(PropTypes.object).isRequired, |
87 otherDocuments: PropTypes.arrayOf(PropTypes.object).isRequired, |
88 viaBaseUrl: PropTypes.string.isRequired, |
88 viaBaseUrl: PropTypes.string.isRequired, |
89 metacategories: PropTypes.arrayOf(PropTypes.object).isRequired, |
89 metacategories: PropTypes.arrayOf(PropTypes.object).isRequired, |
90 topics: PropTypes.arrayOf(PropTypes.string).isRequired, |
90 topics: PropTypes.arrayOf(PropTypes.string).isRequired, |
91 children: PropTypes.node.isRequired, |
91 children: PropTypes.node, |
|
92 }; |
|
93 |
|
94 DocumentsPage.defaultProps = { |
|
95 children: null, |
92 }; |
96 }; |
93 |
97 |
94 export default connect( |
98 export default connect( |
95 (state, props) => { |
99 (state, props) => { |
96 const { documents: { documents }, annotations: { items: annotations } } = state; |
100 const { documents: { documents }, annotations: { items: annotations } } = state; |