From 9d9e717261eb3ba37129a37676bc2bbfa2a39573 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Tue, 13 Feb 2018 18:55:01 +0100 Subject: Remove dublicate and unnessasairy code --- src/client/react/components/container/HelpBox.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/client/react/components') diff --git a/src/client/react/components/container/HelpBox.js b/src/client/react/components/container/HelpBox.js index effe4f5..da4ddac 100644 --- a/src/client/react/components/container/HelpBox.js +++ b/src/client/react/components/container/HelpBox.js @@ -25,14 +25,6 @@ class HelpBox extends React.Component { } } -HelpBox.propTypes = { - // redux - results: PropTypes.arrayOf(PropTypes.string).isRequired, - searchText: PropTypes.string.isRequired, -}; - -HelpBox.propTypes - const mapStateToProps = state => ({ results: state.search.results, searchText: state.search.searchText, -- cgit v1.1