Skip to content

Commit 6bc4495

Browse files
committed
emmm
1 parent 04c61cb commit 6bc4495

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fre",
3-
"version": "2.8.1",
3+
"version": "2.8.2",
44
"type": "module",
55
"main": "dist/fre.js",
66
"unpkg": "dist/fre.umd.js",

src/reconcile.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,7 @@ const diff = (aCh: Fiber[], bCh: Fiber[]) => {
211211
aTail = aCh.length - 1,
212212
bTail = bCh.length - 1,
213213
bMap = {},
214-
same = (a: Fiber, b: Fiber) => {
215-
return a.type === b.type && a.key === b.key
216-
},
214+
same = (a: Fiber, b: Fiber) => a.type === b.type && a.key === b.key,
217215
temp = [],
218216
actions = []
219217

0 commit comments

Comments
 (0)