mirror of
https://github.com/sct/overseerr.git
synced 2026-01-01 10:32:41 +01:00
chore(deps): update react to 18 (#2943)
This commit is contained in:
@@ -10,12 +10,7 @@ interface JSONEditorProps extends HTMLAttributes<HTMLDivElement> {
|
||||
onUpdate: (value: string) => void;
|
||||
}
|
||||
|
||||
const JSONEditor: React.FC<JSONEditorProps> = ({
|
||||
name,
|
||||
value,
|
||||
onUpdate,
|
||||
onBlur,
|
||||
}) => {
|
||||
const JSONEditor = ({ name, value, onUpdate, onBlur }: JSONEditorProps) => {
|
||||
return (
|
||||
<div className="w-full overflow-hidden rounded-md">
|
||||
<AceEditor
|
||||
|
||||
Reference in New Issue
Block a user