diff --git a/src/renderers/native/ReactNativeFiber.js b/src/renderers/native/ReactNativeFiber.js index ad2bae1a7a..7027f47213 100644 --- a/src/renderers/native/ReactNativeFiber.js +++ b/src/renderers/native/ReactNativeFiber.js @@ -72,10 +72,7 @@ const NativeRenderer = ReactFiberReconciler({ parentInstance: Instance | Container, child: Instance | TextInstance, ): void { - - const childTag = typeof child === 'number' - ? child - : child._nativeTag; + const childTag = typeof child === 'number' ? child : child._nativeTag; if (typeof parentInstance === 'number') { // Root container @@ -287,9 +284,7 @@ const NativeRenderer = ReactFiberReconciler({ } else { children.splice(beforeChildIndex, 0, child); - const childTag = typeof child === 'number' - ? child - : child._nativeTag; + const childTag = typeof child === 'number' ? child : child._nativeTag; UIManager.manageChildren( (parentInstance: any)._nativeTag, // containerID