diff --git a/index.js b/index.js index 6166bb5..f0c131e 100644 --- a/index.js +++ b/index.js @@ -188,7 +188,7 @@ function componentAfterRender(component) { function addComponent(component) { var reactInstance = component._reactInternalInstance; if (reactInstance && !components[reactInstance._debugID]) { - components[component._reactInternalInstance._debugID] = component; + components[reactInstance._debugID] = component; componentAfterRender(component); } }