From f054071602efe3eac72fb24d4d36d9c26251f785 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 23 Apr 2019 16:49:16 +0900 Subject: [PATCH] =?UTF-8?q?next/link=E3=82=92=E4=BD=BF=E3=81=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/about.tsx | 5 ++++- pages/index.tsx | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/about.tsx b/pages/about.tsx index b7677e4..acc8aef 100644 --- a/pages/about.tsx +++ b/pages/about.tsx @@ -1,9 +1,12 @@ import React from "react"; +import Link from "next/link"; const About: React.FC = () => (

About

- Back to Home + + Back to Home +
); export default About; diff --git a/pages/index.tsx b/pages/index.tsx index 40c9c1f..85a571f 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,9 +1,12 @@ import React from "react"; +import Link from "next/link"; const Home: React.FC = () => (

Hello Next.js

- /about + + /about +
); export default Home;