Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit 55ce35c

Browse files
author
Brandon Carroll
committed
fix: change node filter params
1 parent bc6913b commit 55ce35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/query-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function proxyUnsafeProperties(node) {
6060
return function(...args) {
6161
return ref
6262
.apply(this, args)
63-
.filter(validComponentFilter)
63+
.filter(node => validComponentFilter(node))
6464
.map(proxyUnsafeProperties);
6565
};
6666
} else if (key === 'getProp') {

0 commit comments

Comments
 (0)