aboutsummaryrefslogtreecommitdiff
path: root/demos/hello-next/pages/second.tsx
diff options
context:
space:
mode:
authorGravatar Jack Hanford <jackhanford@gmail.com> 2021-08-18 16:40:23 -0700
committerGravatar Jack Hanford <jackhanford@gmail.com> 2021-08-18 16:40:23 -0700
commitabdc26a5fc495092c865f89091bd39242fdb2b07 (patch)
tree78e71af008a042a73b1dcea8868fe43ce18f67f7 /demos/hello-next/pages/second.tsx
parent306c7dda6189521b44253eaf4696eb1ea1b1227f (diff)
downloadbun-abdc26a5fc495092c865f89091bd39242fdb2b07.tar.gz
bun-abdc26a5fc495092c865f89091bd39242fdb2b07.tar.zst
bun-abdc26a5fc495092c865f89091bd39242fdb2b07.zip
Get most of the Next.js router working
Former-commit-id: 3521bd1bb606f164f6ef1cdc4cfaae1663c22891
Diffstat (limited to 'demos/hello-next/pages/second.tsx')
-rw-r--r--demos/hello-next/pages/second.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/demos/hello-next/pages/second.tsx b/demos/hello-next/pages/second.tsx
index ae5fd5ec8..8cb0daa89 100644
--- a/demos/hello-next/pages/second.tsx
+++ b/demos/hello-next/pages/second.tsx
@@ -7,10 +7,14 @@ export default function Second({}) {
<ul>
<li>
- <a href="/">Root page</a>
+ <Link href="/">
+ <a>Root page</a>
+ </Link>
</li>
<li>
- <a href="/foo/bar/third">Third page</a>
+ <Link href="/foo/bar/third">
+ <a>Third page</a>
+ </Link>
</li>
</ul>
</div>