Skip to content

Commit 2ed5e35

Browse files
committed
Renames function and target functions appropriately.
1 parent fc15402 commit 2ed5e35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import reactTreeWalker from 'react-tree-walker'
22

3-
export default function asyncResolver(app) {
3+
export default function asyncBootstrapper(app) {
44
const visitor = (element, instance) => {
5-
if (instance && typeof instance.reactAsyncResolverTarget === 'function') {
6-
return instance.reactAsyncResolverTarget()
5+
if (instance && typeof instance.asyncBootstrapperTarget === 'function') {
6+
return instance.asyncBootstrapperTarget()
77
}
88
return true
99
}

0 commit comments

Comments
 (0)