From 07c88c98b8d3c43da0331dc610c480ca20baac86 Mon Sep 17 00:00:00 2001 From: nc Date: Sun, 19 Feb 2023 19:53:47 +0700 Subject: [PATCH] fix home seo --- src/components/Base/index.tsx | 5 ++++- src/pages/index.tsx | 10 ++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/Base/index.tsx b/src/components/Base/index.tsx index cbfc140..54280d4 100644 --- a/src/components/Base/index.tsx +++ b/src/components/Base/index.tsx @@ -5,8 +5,11 @@ import Header from '../Header'; import './styles.scss'; import '../../styles/code.scss'; +type baseType = { + children: React.ReactNode +} -const Base = ({ children }: any) => ( +const Base = ({ children }: baseType) => ( <>
diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 274f94d..0106887 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -50,10 +50,12 @@ const IndexPage = (props: articleListType) => { export default IndexPage; export const Head = () => { - + return ( + + ) } export const pageQuery = graphql`