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 =
|
const shouldUseJsonMode =
|
||||||
schema.type === "object" &&
|
schema.type === "object" &&
|
||||||
(!schema.properties || Object.keys(schema.properties).length === 0);
|
(!schema.properties || Object.keys(schema.properties).length === 0);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue