Fix formatting
This commit is contained in:
parent
b01e386659
commit
06773bb6dd
1 changed files with 2 additions and 2 deletions
|
|
@ -307,8 +307,8 @@ const DynamicJsonForm = ({
|
|||
}
|
||||
};
|
||||
|
||||
const shouldUseJsonMode =
|
||||
schema.type === "object" &&
|
||||
const shouldUseJsonMode =
|
||||
schema.type === "object" &&
|
||||
(!schema.properties || Object.keys(schema.properties).length === 0);
|
||||
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue