diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-11-19 18:10:08 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-11-19 18:10:08 -0500 |
commit | 5c35c2631e59f895a7b0fb6761c1cae7aee60466 (patch) | |
tree | 0d05efe9841a1a62fbf277a025dc6a16bed6750a /web/react/components/admin_console/admin_controller.jsx | |
parent | c22e8129b0b5f67df6ab8384261a4994fc5cbfb1 (diff) | |
download | chat-5c35c2631e59f895a7b0fb6761c1cae7aee60466.tar.gz chat-5c35c2631e59f895a7b0fb6761c1cae7aee60466.tar.bz2 chat-5c35c2631e59f895a7b0fb6761c1cae7aee60466.zip |
Upgrading ESLint and adding some more rules. Refactoring to meet these new rules
Diffstat (limited to 'web/react/components/admin_console/admin_controller.jsx')
-rw-r--r-- | web/react/components/admin_console/admin_controller.jsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/web/react/components/admin_console/admin_controller.jsx b/web/react/components/admin_console/admin_controller.jsx index 8e0ab0555..3c3f03f5a 100644 --- a/web/react/components/admin_console/admin_controller.jsx +++ b/web/react/components/admin_console/admin_controller.jsx @@ -189,4 +189,12 @@ export default class AdminController extends React.Component { </div> ); } -}
\ No newline at end of file +} + +AdminController.defaultProps = { +}; + +AdminController.propTypes = { + tab: React.PropTypes.string, + teamId: React.PropTypes.string +}; |