Skip to content

Commit 6f8ceac

Browse files
committed
[fixed] Transitions example
Fixes #2197
1 parent d4aa590 commit 6f8ceac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/useRoutes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function useRoutes(createHistory) {
116116
partialNextState = { ...nextState, location }
117117

118118
let hooks = getRouteHooksForRoutes(
119-
computeChangedRoutes(state, nextState).leaveRoutes
119+
computeChangedRoutes(state, partialNextState).leaveRoutes
120120
)
121121

122122
let result

0 commit comments

Comments
 (0)