couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [couchdb-fauxton] branch master updated: Remove deprecated React.PropTypes (#1012)
Date Thu, 02 Nov 2017 11:38:07 GMT
This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f86a17  Remove deprecated React.PropTypes (#1012)
3f86a17 is described below

commit 3f86a178e88adb9a5a76f25d89a3fc7e6a18b4d6
Author: Alexis Côté <popojargo@users.noreply.github.com>
AuthorDate: Thu Nov 2 07:38:03 2017 -0400

    Remove deprecated React.PropTypes (#1012)
---
 app/addons/documents/mango/components/ExecutionStats.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/app/addons/documents/mango/components/ExecutionStats.js b/app/addons/documents/mango/components/ExecutionStats.js
index 503358d..3b070d7 100644
--- a/app/addons/documents/mango/components/ExecutionStats.js
+++ b/app/addons/documents/mango/components/ExecutionStats.js
@@ -10,6 +10,7 @@
 // License for the specific language governing permissions and limitations under
 // the License.
 import React from 'react';
+import PropTypes from 'prop-types';
 import { Popover, OverlayTrigger } from 'react-bootstrap';
 
 const TOO_MANY_DOCS_SCANNED_WARNING = "The number of documents examined is high in proportion
to the number of results returned. Consider adding an index to improve this.";
@@ -122,6 +123,6 @@ export default class ExecutionStats extends React.Component {
 };
 
 ExecutionStats.propTypes = {
-  executionStats: React.PropTypes.object,
-  warning: React.PropTypes.string
+  executionStats: PropTypes.object,
+  warning: PropTypes.string
 };

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <commits@couchdb.apache.org>'].

Mime
View raw message