Run prettier
Dan Abramov committed
Apr 5, 2017 at 19:51 UTC
a85d7eed9a9a15c699341a93ee7dccd23690e0cc
1 file changed
+2
-7
src/renderers/native/ReactNativeFiber.js
+2
-7
@@ -72,10 +72,7 @@ const NativeRenderer = ReactFiberReconciler({
72
parentInstance: Instance | Container,
73
child: Instance | TextInstance,
74
): void {
75
-
76
- const childTag = typeof child === 'number'
77
- ? child
78
- : child._nativeTag;
75
+ const childTag = typeof child === 'number' ? child : child._nativeTag;
76
77
if (typeof parentInstance === 'number') {
78
// Root container
@@ -287,9 +284,7 @@ const NativeRenderer = ReactFiberReconciler({
284
} else {
285
children.splice(beforeChildIndex, 0, child);
286
290
- const childTag = typeof child === 'number'
291
- ? child
292
- : child._nativeTag;
287
+ const childTag = typeof child === 'number' ? child : child._nativeTag;
288
289
UIManager.manageChildren(
290
(parentInstance: any)._nativeTag, // containerID