Skip to content

Commit fa87414

Browse files
committed
fix
1 parent 4f6d4aa commit fa87414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reconcile.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ const diff = (aCh, bCh) => {
218218
bMap[bCh[i].key] = i
219219
}
220220
}
221-
while (aHead !== aTail + 1 || bHead !== bTail + 1) {
221+
while (aHead <= aTail || bHead <= bTail) {
222222
var aElm = aCh[aHead],
223223
bElm = bCh[bHead]
224224
if (aElm === null) {

0 commit comments

Comments
 (0)