Skip to content

Commit

Permalink
Remove unused canonical check in fiber host component (#16914)
Browse files Browse the repository at this point in the history
  • Loading branch information
elicwhite authored Oct 2, 2019
1 parent ab1a4f2 commit 10277cc
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,6 @@ class ReactNativeFiberHostComponent {
relativeNode = relativeToNativeNode;
} else if (relativeToNativeNode._nativeTag) {
relativeNode = relativeToNativeNode._nativeTag;
} else if (
/* $FlowFixMe canonical doesn't exist on the node.
I think this branch is dead and will remove it in a followup */
relativeToNativeNode.canonical &&
relativeToNativeNode.canonical._nativeTag
) {
/* $FlowFixMe canonical doesn't exist on the node.
I think this branch is dead and will remove it in a followup */
relativeNode = relativeToNativeNode.canonical._nativeTag;
}

if (relativeNode == null) {
Expand Down

0 comments on commit 10277cc

Please sign in to comment.