Skip to content

Commit

Permalink
fix: call correct prop instance
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed May 10, 2021
1 parent 76b4c61 commit 663b94d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/hooks/useTransition.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ export function useTransition(

let to: TransitionTo<any>
let phase: TransitionPhase
let propsDelay = callProp(props.delay || 0, key)

let propsDelay = callProp(p.delay || 0, key)

if (prevPhase == TransitionPhase.MOUNT) {
to = p.enter
phase = TransitionPhase.ENTER
Expand Down

0 comments on commit 663b94d

Please sign in to comment.