diff --git a/src/components/organisms/Layout.tsx b/src/components/organisms/Layout.tsx index c7176ec..7751562 100644 --- a/src/components/organisms/Layout.tsx +++ b/src/components/organisms/Layout.tsx @@ -6,8 +6,8 @@ import { Link as GatsbyLink } from "gatsby" import { Footer } from "../atoms/Footer" const pages = [ - { title: "Home", href: "/" }, - { title: "Blog", href: "/blog" }, + { title: "Home", to: "/" }, + { title: "Blog", to: "/blog" }, ] type LayoutProps = { @@ -45,12 +45,13 @@ const Layout = ({ pageTitle, preTitle, children }: LayoutProps) => { - {pages.map(({ title, href }) => ( + {pages.map(({ title, to }) => (