mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-02-09 02:49:29 +08:00
fix: add display: 'swap' for fonts (#21)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user