Skip to content

Commit

Permalink
🚑 Fix fallback to public folder font (#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorghildSelle authored Mar 15, 2024
1 parent b1270a9 commit 344d302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { NextPage } from 'next'
import type { ReactNode } from 'react'
import Head from 'next/head'
import { useRouter } from 'next/router'
import { GlobalStyle } from '../styles/globalStyles'
import { GlobalStyle, GlobalFontStyle } from '../styles/globalStyles'
import '../styles/tailwind.css'
import 'focus-visible'
import { useEffect } from 'react'
Expand Down Expand Up @@ -141,6 +141,7 @@ function MyApp({ Component, pageProps }: CustomAppProps): JSX.Element {
{GTM_ID && <GoogleTagManagerHead />}
</Head>
<GlobalStyle />
<GlobalFontStyle />
{IS_LIVE && <CookieBot locale={router.locale} />}
<PreviewContextProvider>
<SkipNavContent>{getLayout(<Component {...pageProps} />)}</SkipNavContent>
Expand Down

0 comments on commit 344d302

Please sign in to comment.