From 816a19997041b27547f83a69c6367aeecbc27cdd Mon Sep 17 00:00:00 2001 From: * <8> Date: Thu, 17 Mar 2022 22:06:11 +0800 Subject: [PATCH] Match-id-8ee01ad048d1ff509df8bd686e82f43318265dc1 --- libs/horizon/src/renderer/diff/nodeDiffComparator.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/horizon/src/renderer/diff/nodeDiffComparator.ts b/libs/horizon/src/renderer/diff/nodeDiffComparator.ts index b0af5c85..59d4829f 100644 --- a/libs/horizon/src/renderer/diff/nodeDiffComparator.ts +++ b/libs/horizon/src/renderer/diff/nodeDiffComparator.ts @@ -220,7 +220,7 @@ function diffArrayNodesHandler( parentNode: VNode, firstChild: VNode | null, newChildren: Array, - isComparing: boolean, + isComparing: boolean ): VNode | null { let resultingFirstChild: VNode | null = null; @@ -488,7 +488,7 @@ function diffIteratorNodesHandler( parentNode: VNode, firstChild: VNode | null, newChildrenIterable: Iterable, - isComparing: boolean, + isComparing: boolean ): VNode | null { const iteratorFn = getIteratorFn(newChildrenIterable); const iteratorObj = iteratorFn.call(newChildrenIterable); @@ -509,7 +509,7 @@ function diffStringNodeHandler( parentNode: VNode, newChild: any, firstChildVNode: VNode, - isComparing: boolean, + isComparing: boolean ) { let newTextNode: VNode | null = null; @@ -539,7 +539,7 @@ function diffObjectNodeHandler( firstChild: VNode | null, newChild: any, firstChildVNode: VNode, - isComparing: boolean, + isComparing: boolean ) { let canReuseNode: VNode | null = null; @@ -621,7 +621,7 @@ export function createChildrenByDiff( parentNode: VNode, firstChild: VNode | null, newChild: any, - isComparing: boolean, + isComparing: boolean ): VNode | null { const isFragment = isNoKeyFragment(newChild); newChild = isFragment ? newChild.props.children : newChild;