# HG changeset patch # User glowka # Date 1520695994 -3600 # Node ID d918859fa3fb3fac0a5bbff1a9a74f908566b7f6 # Parent 9d326d23cf0fb131c4a474db60a33f5b792a2401 Bug 1444594 - set correct prop-types in RequstListContent to clean up some warnings r=Honza MozReview-Commit-ID: K4dOSEVSAWN diff --git a/devtools/client/netmonitor/src/components/RequestListContent.js b/devtools/client/netmonitor/src/components/RequestListContent.js --- a/devtools/client/netmonitor/src/components/RequestListContent.js +++ b/devtools/client/netmonitor/src/components/RequestListContent.js @@ -46,18 +46,18 @@ const MAX_SCROLL_HEIGHT = 2147483647; * Renders the actual contents of the request list. */ class RequestListContent extends Component { static get propTypes() { return { connector: PropTypes.object.isRequired, columns: PropTypes.object.isRequired, networkDetailsOpen: PropTypes.bool.isRequired, - networkDetailsWidth: PropTypes.number.isRequired, - networkDetailsHeight: PropTypes.number.isRequired, + networkDetailsWidth: PropTypes.number, + networkDetailsHeight: PropTypes.number, cloneSelectedRequest: PropTypes.func.isRequired, displayedRequests: PropTypes.array.isRequired, firstRequestStartedMillis: PropTypes.number.isRequired, fromCache: PropTypes.bool, onCauseBadgeMouseDown: PropTypes.func.isRequired, onItemMouseDown: PropTypes.func.isRequired, onSecurityIconMouseDown: PropTypes.func.isRequired, onSelectDelta: PropTypes.func.isRequired,