Skip to content

Commit bd0e3a3

Browse files
fix(redirect): fix bug where redirected transitions with reload: true got wrong resolve values copied
1 parent 6743a60 commit bd0e3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transition/transition.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export class Transition implements IHookRegistry {
328328
// ---------------------------------------------------------
329329

330330
const nodeIsReloading = (reloadState: State) => (node: PathNode) => {
331-
return reloadState && reloadState.includes[node.state.name];
331+
return reloadState && node.state.includes[reloadState.name];
332332
};
333333

334334
// Find any "entering" nodes in the redirect path that match the original path and aren't being reloaded

0 commit comments

Comments
 (0)