You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2017/11/02 11:38:08 UTC
[GitHub] garrensmith closed pull request #1012: Fix/remove deprecated proptypes
garrensmith closed pull request #1012: Fix/remove deprecated proptypes
URL: https://github.com/apache/couchdb-fauxton/pull/1012
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/app/addons/documents/mango/components/ExecutionStats.js b/app/addons/documents/mango/components/ExecutionStats.js
index 503358d2a..3b070d7ea 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
};
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services