Skip to content

Commit 10277cc

Browse files
authored
Remove unused canonical check in fiber host component (#16914)
1 parent ab1a4f2 commit 10277cc

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/react-native-renderer/src/ReactNativeFiberHostComponent.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,6 @@ class ReactNativeFiberHostComponent {
8383
relativeNode = relativeToNativeNode;
8484
} else if (relativeToNativeNode._nativeTag) {
8585
relativeNode = relativeToNativeNode._nativeTag;
86-
} else if (
87-
/* $FlowFixMe canonical doesn't exist on the node.
88-
I think this branch is dead and will remove it in a followup */
89-
relativeToNativeNode.canonical &&
90-
relativeToNativeNode.canonical._nativeTag
91-
) {
92-
/* $FlowFixMe canonical doesn't exist on the node.
93-
I think this branch is dead and will remove it in a followup */
94-
relativeNode = relativeToNativeNode.canonical._nativeTag;
9586
}
9687

9788
if (relativeNode == null) {

0 commit comments

Comments
 (0)