From 67624583acb1f6725626fc36a049326c6f445f4c Mon Sep 17 00:00:00 2001 From: Alex Guja <60717961+alexguja@users.noreply.github.com> Date: Sat, 21 Dec 2024 19:35:33 +0100 Subject: [PATCH] docs: add missing JSX import (#873) --- docs/packages/next.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/packages/next.md b/docs/packages/next.md index 0de6def7..66692135 100644 --- a/docs/packages/next.md +++ b/docs/packages/next.md @@ -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 }) {