Skip to content

Commit

Permalink
Small Head fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nicopoore committed Mar 12, 2021
1 parent dc6849d commit e23cf98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 9 additions & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@ import { ChakraProvider } from '@chakra-ui/react';
import { AppProps } from 'next/dist/next-server/lib/router/router';
import '../styles/globals.css';
import theme from '../styles/theme';
import Head from 'next/head';

const MyApp: React.FC<AppProps> = ({ Component, pageProps }) => {
return (
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
<>
<Head>
<title>Argentina Vacunada</title>
</Head>
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
</>
);
};

Expand Down
1 change: 0 additions & 1 deletion pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class Document extends NextDocument {
return (
<Html lang="en">
<Head>
<title>{metaTitle}</title>
<link href="/favicon.ico" rel="icon" />
<meta content={metaTitle} name="title" />
<meta content={metaDesc} name="description" />
Expand Down

1 comment on commit e23cf98

@vercel
Copy link

@vercel vercel bot commented on e23cf98 Mar 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.