Skip to content

Commit

Permalink
golf -6b
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Feb 11, 2020
1 parent 35a3c60 commit ab43478
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/diff/index.js
Expand Up @@ -339,9 +339,9 @@ function diffElementNodes(
}
}

if (newVNode.type === 'select' && newProps.onInput) {
if (newVNode.type === 'select') {
newProps.onChange = newProps.onInput;
delete newProps.onInput;
newProps.onInput = undefined;
}
}

Expand Down

0 comments on commit ab43478

Please sign in to comment.