fix: import React in JsonCodeEditor for proper JSX support

This commit is contained in:
siujamo
2026-02-25 09:14:38 +08:00
parent aed0f63429
commit 4209e4ad0f
+1 -1
View File
@@ -1,4 +1,4 @@
import { useMemo, useRef } from "react"
import React, { useMemo, useRef } from "react"
type JsonCodeEditorProps = {
value: string