Skip to content

Commit 1c0c234

Browse files
committed
Fixed Bug
1 parent 80e5b2b commit 1c0c234

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/advanced/routing.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,13 @@ export function PageRoute() {
191191
}
192192
```
193193

194-
194+
<BrowserWindow>
195+
<BrowserOnly>
196+
{
197+
()=> <span> You are currently on <code>{location.pathname}</code></span>
198+
}
199+
</BrowserOnly
200+
</BrowserWindow>
195201

196202
---
197203

0 commit comments

Comments
 (0)