summaryrefslogtreecommitdiffstats
path: root/webapp/components/logged_in.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-03-31 09:42:35 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-03-31 09:42:35 -0400
commitdd6f5776477a0908b1226a27444d76e3078a5506 (patch)
treeb7a56293b35a9eaf4a34b59cb3cd091479c3dfbd /webapp/components/logged_in.jsx
parentc8b2af62468c5d0906ba08d3e2a378681f99eb08 (diff)
downloadchat-dd6f5776477a0908b1226a27444d76e3078a5506.tar.gz
chat-dd6f5776477a0908b1226a27444d76e3078a5506.tar.bz2
chat-dd6f5776477a0908b1226a27444d76e3078a5506.zip
Fixed prop type warning in system console
Diffstat (limited to 'webapp/components/logged_in.jsx')
-rw-r--r--webapp/components/logged_in.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/webapp/components/logged_in.jsx b/webapp/components/logged_in.jsx
index f7a6be647..3b44f5940 100644
--- a/webapp/components/logged_in.jsx
+++ b/webapp/components/logged_in.jsx
@@ -266,7 +266,10 @@ LoggedIn.defaultProps = {
};
LoggedIn.propTypes = {
- children: React.PropTypes.arrayOf(React.PropTypes.element),
+ children: React.PropTypes.oneOfType([
+ React.PropTypes.arrayOf(React.PropTypes.element),
+ React.PropTypes.element
+ ]),
navbar: React.PropTypes.element,
sidebar: React.PropTypes.element,
center: React.PropTypes.element,