Skip to content

Commit

Permalink
fix(getInputs): remove unecessary debugger statement
Browse files Browse the repository at this point in the history
  • Loading branch information
tpucci authored Apr 11, 2018
1 parent 92316d6 commit a0dd9d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/withNextInputAutoFocus.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const withNextInputAutoFocusContextType = {
getInputs = children =>
(isArray(children) ? children : [children]).reduce((partialInputs, child) => {
if (child.props && child.props.children) {
debugger;
return partialInputs.concat(getInputs(child.props.children));
}
if (child && child.props && !!child.props.name) return partialInputs.concat(child);
Expand Down

0 comments on commit a0dd9d4

Please sign in to comment.