docs(next-installation): Fixed type error in Next.js installation by removing export from fontSans (#2673)

This PR fixes the issue [#2337](https://github.com/shadcn-ui/ui/issues/2377).

I removed `export` of `fontSans` from `app/layout.tsx`, which was causing a type error. 
I have ensured that this modification does not impact other functionalities. Your feedback on this pull request would be greatly appreciated.

Thank you for your consideration.
This commit is contained in:
alpaca
2024-03-03 20:03:04 +09:00
committed by GitHub
parent 0fae3fd93a
commit 2de7bbf32e

View File

@@ -52,7 +52,7 @@ import { Inter as FontSans } from "next/font/google"
import { cn } from "../@/lib/utils"
export const fontSans = FontSans({
const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
})