Skip to content

Commit 1ec146a

Browse files
committed
chore: seo component works
1 parent 971304c commit 1ec146a

File tree

3 files changed

+184
-179
lines changed

3 files changed

+184
-179
lines changed

components/PageSeoLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { NextSeo } from 'next-seo'
33
interface PageSeoLayoutProps {
44
title: string
55
description?: string
6-
children: React.ReactNode
6+
children?: React.ReactNode
77
}
88

99
const PageSeoLayout = ({

pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ function MyApp({ Component, pageProps }: AppProps) {
4343
<Layout>
4444
<Component {...pageProps} />
4545
</Layout>
46-
<Analytics />
4746
</MDXProvider>
47+
<Analytics />
4848
</ChakraProvider>
4949
)
5050
}

0 commit comments

Comments
 (0)