Skip to content

Commit

Permalink
docs(next-installation): Fixed type error in Next.js installation by …
Browse files Browse the repository at this point in the history
…removing export from fontSans (#2673)

This PR fixes the issue [#2337](#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.
  • Loading branch information
alpaca1231 authored Mar 3, 2024
1 parent 0fae3fd commit 2de7bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/www/content/docs/installation/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
})
Expand Down

0 comments on commit 2de7bbf

Please sign in to comment.