summaryrefslogtreecommitdiffstats
path: root/src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx')
-rw-r--r--src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx b/src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx
index 332cdcf..7732951 100644
--- a/src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx
+++ b/src/generic-components/dynamicViewLoader/dynamicViewLoader.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import DateRangeSelector from 'generic-components/dateRangeSelector/DateRangeSelector.jsx';
@@ -54,8 +55,8 @@ let mapActionToProps = (dispatch) => {
class DynamicViewLoader extends Component {
static propTypes = {
- viewTitle: React.PropTypes.string,
- layoutSource: React.PropTypes.object
+ viewTitle: PropTypes.string,
+ layoutSource: PropTypes.object
};
componentWillMount() {