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`