We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1b3b89 commit 09d2496Copy full SHA for 09d2496
src/browser-router.tsx
@@ -74,7 +74,7 @@ export default class BrowserRouter extends Router {
74
const path = pathname + search + hash;
75
if (this.router.isRunning) this.router.cancel();
76
const currentTransition = this.router.currentTransition;
77
- let opts = { path };
+ let opts = { path, ctx: new Context() };
78
if (state.ctx) opts.ctx = state.ctx;
79
let { location, route, status, params, redirect, result, ctx, error } = await this.router.run(opts);
80
if (error && error.message === 'Cancelled') return;
0 commit comments