diff --git a/documentation/docs/60-appendix/30-migrating-to-sveltekit-2.md b/documentation/docs/60-appendix/30-migrating-to-sveltekit-2.md index eb8fd068cc6a..58d6a6eb3ec7 100644 --- a/documentation/docs/60-appendix/30-migrating-to-sveltekit-2.md +++ b/documentation/docs/60-appendix/30-migrating-to-sveltekit-2.md @@ -68,7 +68,7 @@ export function load({ fetch }) { ## goto(...) changes -`goto(...)` no longer accepts external URLs. To navigate to an external URL, use `window.location = url`. The `state` object now contributes to `$page.state` and requires an `App.PageState` shape, see [shallow routing](shallow-routing) for more info. +`goto(...)` no longer accepts external URLs. To navigate to an external URL, use `window.location = url`. The `state` object now determines `$page.state` and must adhere to the `App.PageState` interface, if declared. See [shallow routing](shallow-routing) for more details. ## paths are now relative by default