mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Run prettier
This commit is contained in:
1 parent
6a48f32f21
commit
a85d7eed9a
1 file changed
+2
-7
@@ -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
|
||||
|
||||
Reference in new issue
Block a user