diff --git a/packages/kit/src/runtime/client/renderer.js b/packages/kit/src/runtime/client/renderer.js index 1a91c2b9ce6f..63906bcdb40b 100644 --- a/packages/kit/src/runtime/client/renderer.js +++ b/packages/kit/src/runtime/client/renderer.js @@ -264,9 +264,7 @@ export class Renderer { } } - if (navigation_result.reload) { - location.reload(); - } else if (this.started) { + if (this.started) { this.current = navigation_result.state; this.root.$set(navigation_result.props); diff --git a/packages/kit/src/runtime/client/types.d.ts b/packages/kit/src/runtime/client/types.d.ts index 225b7956dfce..26a4f8030bb7 100644 --- a/packages/kit/src/runtime/client/types.d.ts +++ b/packages/kit/src/runtime/client/types.d.ts @@ -15,7 +15,6 @@ export type NavigationCandidate = { }; export type NavigationResult = { - reload?: boolean; redirect?: string; state: NavigationState; props: Record;