We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e804f09 + 23afb5a commit 09cf679Copy full SHA for 09cf679
1 file changed
src/index.js
@@ -21,7 +21,7 @@ function doSetAttributes (el, props) {
21
// Set attributes.
22
const nonEntityPropNames = ['children', 'events', 'primitive'];
23
Object.keys(props).filter(
24
- propName => propName.indexOf(nonEntityPropNames) === -1
+ propName => nonEntityPropNames.indexOf(propName) === -1
25
).forEach(propName => { doSetAttribute(el, props, propName); });
26
}
27
0 commit comments