From 4533f184b1df49d77d68cff5412e2484907dca5c Mon Sep 17 00:00:00 2001 From: Eli White Date: Thu, 26 Sep 2019 14:44:43 -0700 Subject: [PATCH] Remove canonical check in fiber host component --- .../src/ReactNativeFiberHostComponent.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/react-native-renderer/src/ReactNativeFiberHostComponent.js b/packages/react-native-renderer/src/ReactNativeFiberHostComponent.js index 3b3b901f95a..b49b31008f7 100644 --- a/packages/react-native-renderer/src/ReactNativeFiberHostComponent.js +++ b/packages/react-native-renderer/src/ReactNativeFiberHostComponent.js @@ -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) {