From 115a31c9baff9907694c9f1d8c53dcc1e9fbb664 Mon Sep 17 00:00:00 2001
From: cle1000 <cle1000.cb@gmail.com>
Date: Thu, 27 Apr 2017 10:54:21 +0200
Subject: change import of prop-types

---
 web/src/js/components/FlowTable/FlowTableHead.jsx | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'web/src/js/components/FlowTable/FlowTableHead.jsx')

diff --git a/web/src/js/components/FlowTable/FlowTableHead.jsx b/web/src/js/components/FlowTable/FlowTableHead.jsx
index b201285f..59ad73e2 100644
--- a/web/src/js/components/FlowTable/FlowTableHead.jsx
+++ b/web/src/js/components/FlowTable/FlowTableHead.jsx
@@ -1,4 +1,5 @@
-import React, { PropTypes } from 'react'
+import React  from 'react'
+import PropTypes from 'prop-types'
 import { connect } from 'react-redux'
 import classnames from 'classnames'
 import columns from './FlowColumns'
@@ -7,8 +8,8 @@ import { setSort } from '../../ducks/flows'
 
 FlowTableHead.propTypes = {
     setSort: PropTypes.func.isRequired,
-    sortDesc: React.PropTypes.bool.isRequired,
-    sortColumn: React.PropTypes.string,
+    sortDesc: PropTypes.bool.isRequired,
+    sortColumn: PropTypes.string,
 }
 
 function FlowTableHead({ sortColumn, sortDesc, setSort }) {
-- 
cgit v1.2.3

