Skip to content

Commit ea53ad1

Browse files
committed
chore: minor tweak
1 parent ec2fcec commit ea53ad1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/runtime-core/src/components/BaseTransition.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ const BaseTransitionImpl: ComponentOptions = {
198198
setTransitionHooks(innerChild, enterHooks)
199199
}
200200

201-
const oldChild = instance.subTree
202-
let oldInnerChild = oldChild && getInnerChild(oldChild)
201+
let oldInnerChild = instance.subTree && getInnerChild(instance.subTree)
203202

204203
// handle mode
205204
if (

0 commit comments

Comments
 (0)