diff --git a/packages/playground/src/App.tsx b/packages/playground/src/App.tsx index 89cddd8..4bf7dc4 100644 --- a/packages/playground/src/App.tsx +++ b/packages/playground/src/App.tsx @@ -37,7 +37,7 @@ const App: React.FC = () => { const [error, setError] = useState(); const [notification, setNotification] = useState(); const [UISchema, setUISchemaBySection]: [IUISchema, any] = UISchemaStore(); - const [editor, setEditor]: [any, Dispatch<{}>] = useState(); + const [editor, setEditor]: [any, Dispatch>] = useState(); const [horizontalSplit, privateSetHorizontalSplit] = useState(false); const [parsedSchema, setParsedSchema] = useParsedSchema( defaultValue ? JSON.parse(defaultValue) : null,