aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/presentational
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-11 20:36:51 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-11 20:36:51 +0100
commit2cac093369ecb965ddbef60e6dc2aa6e50f0e937 (patch)
tree169888d81716b85c7406aad52bd36c848fdf1955 /src/client/react/components/presentational
parent00d4e5241e220f8f1df4f3d5b796bc70d5fcd3fe (diff)
Refactor Results out of Search
Diffstat (limited to 'src/client/react/components/presentational')
-rw-r--r--src/client/react/components/presentational/IconFromUserType.jsx2
-rw-r--r--src/client/react/components/presentational/Result.jsx2
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;