diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-12-11 20:36:51 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-12-11 20:36:51 +0100 |
commit | 2cac093369ecb965ddbef60e6dc2aa6e50f0e937 (patch) | |
tree | 169888d81716b85c7406aad52bd36c848fdf1955 /src/client/react/components/presentational | |
parent | 00d4e5241e220f8f1df4f3d5b796bc70d5fcd3fe (diff) |
Refactor Results out of Search
Diffstat (limited to 'src/client/react/components/presentational')
-rw-r--r-- | src/client/react/components/presentational/IconFromUserType.jsx | 2 | ||||
-rw-r--r-- | src/client/react/components/presentational/Result.jsx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client/react/components/presentational/IconFromUserType.jsx b/src/client/react/components/presentational/IconFromUserType.jsx index 6bd2a21..ee0e04b 100644 --- a/src/client/react/components/presentational/IconFromUserType.jsx +++ b/src/client/react/components/presentational/IconFromUserType.jsx @@ -26,7 +26,7 @@ const IconFromUserType = ({ userType, defaultIcon }) => { IconFromUserType.propTypes = { userType: PropTypes.string, - defaultIcon: PropTypes.react, + defaultIcon: PropTypes.element, }; IconFromUserType.defaultProps = { diff --git a/src/client/react/components/presentational/Result.jsx b/src/client/react/components/presentational/Result.jsx index 4876493..a4a0b8e 100644 --- a/src/client/react/components/presentational/Result.jsx +++ b/src/client/react/components/presentational/Result.jsx @@ -16,3 +16,5 @@ Result.propTypes = { type: PropTypes.string.isRequired, }).isRequired, }; + +export default Result; |