From b39b35a458a301911a802a5c7b15fd24d210b4e9 Mon Sep 17 00:00:00 2001 From: Patrick Riley Date: Tue, 5 Mar 2019 16:19:25 -0500 Subject: [PATCH] fix(nav): fix React warning with onExpand prop --- .../patternfly-4/react-core/src/components/Nav/NavExpandable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/patternfly-4/react-core/src/components/Nav/NavExpandable.js b/packages/patternfly-4/react-core/src/components/Nav/NavExpandable.js index b4be7e5a6fa..e8e902f89cd 100644 --- a/packages/patternfly-4/react-core/src/components/Nav/NavExpandable.js +++ b/packages/patternfly-4/react-core/src/components/Nav/NavExpandable.js @@ -67,7 +67,7 @@ class NavExpandable extends React.Component { }; render() { - const { id, title, srText, isExpanded, children, className, groupId, isActive, ...props } = this.props; + const { id, title, srText, isExpanded, children, className, groupId, isActive, onExpand, ...props } = this.props; const { expandedState } = this.state; return (