summaryrefslogtreecommitdiffstats
path: root/webapp/components/backstage/backstage_controller.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/backstage/backstage_controller.jsx')
-rw-r--r--webapp/components/backstage/backstage_controller.jsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/components/backstage/backstage_controller.jsx b/webapp/components/backstage/backstage_controller.jsx
index f354f141d..4619641b1 100644
--- a/webapp/components/backstage/backstage_controller.jsx
+++ b/webapp/components/backstage/backstage_controller.jsx
@@ -1,3 +1,5 @@
+import PropTypes from 'prop-types';
+
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
@@ -13,8 +15,8 @@ import ErrorBar from 'components/error_bar.jsx';
export default class BackstageController extends React.Component {
static get propTypes() {
return {
- user: React.PropTypes.object,
- children: React.PropTypes.node.isRequired
+ user: PropTypes.object,
+ children: PropTypes.node.isRequired
};
}