Match-id-ffb38ef6e63f882eff4f7d1aa5cc7ca5181db8e5

This commit is contained in:
* 2022-09-05 11:15:07 +08:00 committed by *
parent 46450cf4f8
commit 28c219de86
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ export const helper = {
return { name: HookName.RefHook, hIndex, value: (state as Ref<any>).current };
} else if (isEffectHook(state)) {
const name =
state.effectConstant == EffectConstant.LayoutEffect || EffectConstant.LayoutEffect | EffectConstant.DepsChange
state.effectConstant == EffectConstant.LayoutEffect || (EffectConstant.LayoutEffect | EffectConstant.DepsChange)
? HookName.LayoutEffectHook
: HookName.EffectHook;
return { name, hIndex, value: (state as Effect).effect };