From abdc26a5fc495092c865f89091bd39242fdb2b07 Mon Sep 17 00:00:00 2001
From: Jack Hanford <jackhanford@gmail.com>
Date: Wed, 18 Aug 2021 16:40:23 -0700
Subject: Get most of the Next.js router working

Former-commit-id: 3521bd1bb606f164f6ef1cdc4cfaae1663c22891
---
 demos/hello-next/pages/second.tsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'demos/hello-next/pages/second.tsx')

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>
-- 
cgit v1.2.3

