From a2c360264100f437bd414eaab0bd5b401a81dc54 Mon Sep 17 00:00:00 2001 From: desmukh Date: Mon, 9 Jan 2023 01:19:24 +0500 Subject: [PATCH] rename homepage file --- src/pages/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index cc2bb3d..8c16d05 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -23,7 +23,7 @@ const coreValues = [ { label: "Transparency", path: "/"}, ] -const BlogIndex = ({ data, location }) => { +const HomePage = ({ data, location }) => { const siteTitle = data.site.siteMetadata?.title || `Title` const posts = data.allMarkdownRemark.nodes @@ -126,7 +126,7 @@ const BlogIndex = ({ data, location }) => { ) } -export default BlogIndex +export default HomePage /** * Head export to define metadata for the page