Liu Song’s Projects


~/Projects/fre

git clone https://code.lsong.org/fre

Commit

Commit
98beedf4972805828765c161f079f29f22ea29aa
Author
伊撒尔 <[email protected]>
Date
2021-03-08 11:31:23 +0800 +0800
Diffstat
 src/reconciler.ts | 2 +-

Update reconciler.ts


diff --git a/src/reconciler.ts b/src/reconciler.ts
index 0af118c9d5afab8af3b003157cabc26ac21a71cd..324a1f03332d541a0d1d85e86a1247333a39d00a 100644
--- a/src/reconciler.ts
+++ b/src/reconciler.ts
@@ -203,7 +203,7 @@
 function invokeHooks({ hooks, tag }) {
   if (hooks) {
     if (tag & OP.REMOVE) {
-let currentFiber: IFiber
+  REMOVE = 1 << 3,
   IFiber,
     } else {
       side(hooks.layout)