Skip to content

Commit a52c869

Browse files
Apply suggestions from code review
Co-authored-by: bytecodemanipulator <[email protected]>
1 parent 1c476f5 commit a52c869

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/reactivity/url.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function get_current_url() {
1515
* Reading properties of the URL (such as `url.href` or `url.pathname`) in an [effect](https://svelte.dev/docs/svelte/$effect) or [derived](https://svelte.dev/docs/svelte/$derived)
1616
* will cause it to be re-evaluated as necessary when the URL changes.
1717
*
18-
* The `searchParams` property is an instance of [SvelteURLSearchParams](http://localhost:5173/docs/svelte/svelte-reactivity#SvelteURLSearchParams).
18+
* The `searchParams` property is an instance of [SvelteURLSearchParams](https://svelte.dev/docs/svelte/svelte-reactivity#SvelteURLSearchParams).
1919
*
2020
* [Example](https://svelte.dev/playground/5a694758901b448c83dc40dc31c71f2a):
2121
*

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,7 @@ declare module 'svelte/reactivity' {
20322032
* Reading properties of the URL (such as `url.href` or `url.pathname`) in an [effect](https://svelte.dev/docs/svelte/$effect) or [derived](https://svelte.dev/docs/svelte/$derived)
20332033
* will cause it to be re-evaluated as necessary when the URL changes.
20342034
*
2035-
* The `searchParams` property is an instance of [SvelteURLSearchParams](http://localhost:5173/docs/svelte/svelte-reactivity#SvelteURLSearchParams).
2035+
* The `searchParams` property is an instance of [SvelteURLSearchParams](https://svelte.dev/docs/svelte/svelte-reactivity#SvelteURLSearchParams).
20362036
*
20372037
* [Example](https://svelte.dev/playground/5a694758901b448c83dc40dc31c71f2a):
20382038
*

0 commit comments

Comments
 (0)