Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/router-core/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@ export class RouterCore<

// Wait for the beforeLoad to resolve before we continue
await existingMatch.beforeLoadPromise
executeBeforeLoad = this.getMatch(matchId)!.status !== 'success'
executeBeforeLoad = this.getMatch(matchId)!.status === 'error'
}
if (executeBeforeLoad) {
// If we are not in the middle of a load OR the previous load failed, start it
Expand Down
Loading