fix: add display: 'swap' for fonts (#21)

This commit is contained in:
Doğukan Çavuş
2023-01-27 11:50:01 +03:00
committed by GitHub
parent f4b9344786
commit 636c7afa00
3 changed files with 4 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import "@/styles/globals.css"
const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
display: 'swap',
})
export default function App({ Component, pageProps }: AppProps) {