Skip to content

Commit

Permalink
Fixes error thrown when "__incrementalDOMData" is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
mairatma committed Sep 1, 2016
1 parent 0090bd2 commit fcbebb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/metal-jsx/src/JSXRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class JSXRenderer extends IncrementalDomRenderer {
// If this is the first node being patched, just repeat the key it
// used before (if it has been used before).
const node = IncrementalDOM.currentPointer();
if (node) {
if (node && node.__incrementalDOMData) {
args[1] = node.__incrementalDOMData.key;
}
}
Expand Down

0 comments on commit fcbebb7

Please sign in to comment.