From c005ac0b0fc785702f45ce7c673d8b11d84eb047 Mon Sep 17 00:00:00 2001 From: Dennis Oelkers Date: Fri, 12 Aug 2016 15:53:15 +0200 Subject: [PATCH] Removing unused prop type in StreamRuleList component. (#2673) There was an unused prop type defined in the StreamRuleList component, which was not passed to it, therefore generating a warning in the browser's console for every use of the component. This change removes the prop type. --- .../src/components/streamrules/StreamRuleList.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/graylog2-web-interface/src/components/streamrules/StreamRuleList.jsx b/graylog2-web-interface/src/components/streamrules/StreamRuleList.jsx index 9548cce99790..21c55a03ec78 100644 --- a/graylog2-web-interface/src/components/streamrules/StreamRuleList.jsx +++ b/graylog2-web-interface/src/components/streamrules/StreamRuleList.jsx @@ -10,7 +10,6 @@ const StreamRuleList = React.createClass({ onDelete: React.PropTypes.func, permissions: React.PropTypes.array.isRequired, stream: React.PropTypes.object.isRequired, - streamRule: React.PropTypes.object.isRequired, streamRuleTypes: React.PropTypes.array.isRequired, },