Skip to content

Commit

Permalink
docs: add missing JSX import (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexguja authored Dec 21, 2024
1 parent 25695aa commit 6762458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/packages/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ In your `codeblock.tsx`:

```tsx
'use client'
import { useLayoutEffect, useState } from 'react'
import { JSX, useLayoutEffect, useState } from 'react'
import { highlight } from './shared'

export function CodeBlock({ initial }: { initial?: JSX.Element }) {
Expand Down

0 comments on commit 6762458

Please sign in to comment.