Skip to content

Commit

Permalink
disabled no custom font warning for _app
Browse files Browse the repository at this point in the history
  • Loading branch information
krissh-the-dev committed Jun 24, 2021
1 parent a95784d commit 819c9c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @next/next/no-page-custom-font */
import Head from 'next/head';
import type { AppProps } from 'next/app';
import { createGlobalStyle } from 'styled-components';
Expand All @@ -10,7 +11,10 @@ export default function App({ Component, pageProps }: AppProps) {
<Head>
<link rel='icon' href='favicon.png' sizes='16x16 28x28 32x32' type='image/png' />
<link rel='preconnect' href='https://fonts.gstatic.com' />
<link href='https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;800&display=swap' rel='stylesheet' />
<link
href='https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;800&display=swap'
rel='stylesheet'
/>
</Head>
<GlobalStyle />
<Component {...pageProps} />
Expand Down

0 comments on commit 819c9c3

Please sign in to comment.