From 0f3f964494f9d594eb468a4a3ebdb70bd43a07ac Mon Sep 17 00:00:00 2001 From: Shu Uesugi Date: Sun, 5 Apr 2020 20:59:04 -0700 Subject: [PATCH] Page -> Layout --- api-routes-starter/components/Layout.js | 2 +- basics-final/components/Layout.js | 2 +- data-fetching-starter/components/Layout.js | 2 +- dynamic-routes-starter/components/Layout.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api-routes-starter/components/Layout.js b/api-routes-starter/components/Layout.js index 661004e..6dea4aa 100644 --- a/api-routes-starter/components/Layout.js +++ b/api-routes-starter/components/Layout.js @@ -6,7 +6,7 @@ import Link from 'next/link' const name = '[Your Name]' export const siteTitle = 'Next.js Sample Website' -export default function Page({ children, home }) { +export default function Layout({ children, home }) { return (
diff --git a/basics-final/components/Layout.js b/basics-final/components/Layout.js index 05d2860..6cb833b 100644 --- a/basics-final/components/Layout.js +++ b/basics-final/components/Layout.js @@ -6,7 +6,7 @@ import Link from 'next/link' const name = 'Shu Uesugi' export const siteTitle = 'Next.js Sample Website' -export default function Page({ children, home }) { +export default function Layout({ children, home }) { return (
diff --git a/data-fetching-starter/components/Layout.js b/data-fetching-starter/components/Layout.js index 661004e..6dea4aa 100644 --- a/data-fetching-starter/components/Layout.js +++ b/data-fetching-starter/components/Layout.js @@ -6,7 +6,7 @@ import Link from 'next/link' const name = '[Your Name]' export const siteTitle = 'Next.js Sample Website' -export default function Page({ children, home }) { +export default function Layout({ children, home }) { return (
diff --git a/dynamic-routes-starter/components/Layout.js b/dynamic-routes-starter/components/Layout.js index 661004e..6dea4aa 100644 --- a/dynamic-routes-starter/components/Layout.js +++ b/dynamic-routes-starter/components/Layout.js @@ -6,7 +6,7 @@ import Link from 'next/link' const name = '[Your Name]' export const siteTitle = 'Next.js Sample Website' -export default function Page({ children, home }) { +export default function Layout({ children, home }) { return (