diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-31 09:42:35 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-31 09:42:35 -0400 |
commit | dd6f5776477a0908b1226a27444d76e3078a5506 (patch) | |
tree | b7a56293b35a9eaf4a34b59cb3cd091479c3dfbd /webapp | |
parent | c8b2af62468c5d0906ba08d3e2a378681f99eb08 (diff) | |
download | chat-dd6f5776477a0908b1226a27444d76e3078a5506.tar.gz chat-dd6f5776477a0908b1226a27444d76e3078a5506.tar.bz2 chat-dd6f5776477a0908b1226a27444d76e3078a5506.zip |
Fixed prop type warning in system console
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/logged_in.jsx | 5 |
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, |