Skip to content

Commit

Permalink
Components: Avoid passing the deep prop down in the NavigableMenu C…
Browse files Browse the repository at this point in the history
…omponent
  • Loading branch information
youknowriad committed Oct 13, 2017
1 parent d8b04b3 commit 65b43ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/navigable-menu/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class NavigableMenu extends Component {
const { children, ...props } = this.props;

return (
<div ref={ this.bindContainer } { ...omit( props, [ 'orientation', 'onNavigate' ] ) } onKeyDown={ this.onKeyDown }>
<div ref={ this.bindContainer } { ...omit( props, [ 'orientation', 'onNavigate', 'deep' ] ) } onKeyDown={ this.onKeyDown }>
{ children }
</div>
);
Expand Down

0 comments on commit 65b43ca

Please sign in to comment.