Run prettier

This commit is contained in:
Dan Abramov committed 2017-04-05 19:51:23 +01:00
1 parent 6a48f32f21
commit a85d7eed9a
1 file changed
+2 -7
+2 -7
View File
@@ -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