summaryrefslogtreecommitdiffstats
path: root/webapp/components/error_page.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/error_page.jsx')
-rw-r--r--webapp/components/error_page.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/error_page.jsx b/webapp/components/error_page.jsx
index aae538795..14f6f2488 100644
--- a/webapp/components/error_page.jsx
+++ b/webapp/components/error_page.jsx
@@ -2,6 +2,7 @@
// See License.txt for license information.
import $ from 'jquery';
+import PropTypes from 'prop-types';
import React from 'react';
import {FormattedMessage} from 'react-intl';
import {Link} from 'react-router/es6';
@@ -12,7 +13,7 @@ import * as Utils from 'utils/utils.jsx';
export default class ErrorPage extends React.Component {
static propTypes = {
- location: React.PropTypes.object.isRequired
+ location: PropTypes.object.isRequired
};
constructor(props) {