chore: moves editorProps into admin property for code and json field types
This commit is contained in:
@@ -32,9 +32,9 @@ const Code: React.FC<Props> = (props) => {
|
||||
language,
|
||||
description,
|
||||
condition,
|
||||
editorOptions,
|
||||
} = {},
|
||||
label,
|
||||
editorOptions,
|
||||
} = props;
|
||||
|
||||
const path = pathFromProps || name;
|
||||
|
||||
@@ -26,9 +26,9 @@ const JSONField: React.FC<Props> = (props) => {
|
||||
width,
|
||||
description,
|
||||
condition,
|
||||
editorOptions,
|
||||
} = {},
|
||||
label,
|
||||
editorOptions,
|
||||
} = props;
|
||||
|
||||
const path = pathFromProps || name;
|
||||
|
||||
Reference in New Issue
Block a user