Skip to content

Commit 1d34372

Browse files
committed
fix
1 parent 66ade96 commit 1d34372

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

documentation/docs/20-core-concepts/20-load.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ In rare cases, you may wish to exclude something from the dependency tracking me
580580

581581
```js
582582
/// file: src/routes/+page.js
583+
/** @type {import('./$types').PageLoad} */
583584
export async function load({ untrack, url }) {
584585
// Untrack url.pathname so that path changes don't trigger a rerun
585586
if (untrack(() => url.pathname === '/')) {

0 commit comments

Comments
 (0)