Skip to content

Commit

Permalink
docs(www): Missing import statement (#1877)
Browse files Browse the repository at this point in the history
Added missing import statement in fonts example in Next.js installation docs
  • Loading branch information
colecline authored Nov 12, 2023
1 parent 3fccfeb commit c82a6fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/www/content/docs/installation/next.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ Here's how I configure Inter for Next.js:

**1. Import the font in the root layout:**

```js showLineNumbers title=app/layout.tsx {2,4-7,15-16}
```js showLineNumbers title=app/layout.tsx {2,5-8,16-17}
import "@/styles/globals.css"
import { Inter as FontSans } from "next/font/google"
import { cn } from "../@/lib/utils";

export const fontSans = FontSans({
subsets: ["latin"],
Expand Down

0 comments on commit c82a6fa

Please sign in to comment.