diff --git a/library/src/components/Payload/Conditions/Conditions.tsx b/library/src/components/Payload/Conditions/Conditions.tsx
index 459f8ed8d..7ee75fe82 100644
--- a/library/src/components/Payload/Conditions/Conditions.tsx
+++ b/library/src/components/Payload/Conditions/Conditions.tsx
@@ -15,140 +15,133 @@ export const Conditions = ({
dependentSchemas,
}: ConditionsProps) => {
return (
- <>
-
- {schema.oneOf()?.length && (
-
-
- Can be One Of the following:
-
- {schema
- .oneOf()
- ?.map((s, idx) => (
-
- ))}
-
- )}
-
- {schema.anyOf()?.length && (
-
-
- Can be Any Of the following:
-
- {schema
- .anyOf()
- ?.map((s, idx) => (
-
- ))}
-
- )}
-
- {schema.allOf()?.length && (
-
-
- Must consist All Of the following:
-
- {schema
- .allOf()
- ?.map((s, idx) => (
-
- ))}
-
- )}
-
- {schema.not() && (
-
- )}
-
- {schema.propertyNames() && (
-
- )}
-
- {schema.contains() && (
-
- )}
-
- {schema.if() && (
-
- {schema.if() && (
+
+ {schema.oneOf()?.length && (
+
+
+ Can be One Of the following:
+
+ {schema
+ .oneOf()
+ ?.map((s, idx) => (
- )}
- {schema.then() && (
+ ))}
+
+ )}
+
+ {schema.anyOf()?.length && (
+
+
+ Can be Any Of the following:
+
+ {schema
+ .anyOf()
+ ?.map((s, idx) => (
- )}
- {schema.else() && (
+ ))}
+
+ )}
+
+ {schema.allOf()?.length && (
+
+
+ Must consist All Of the following:
+
+ {schema
+ .allOf()
+ ?.map((s, idx) => (
- )}
-
- )}
-
- {dependentSchemas && (
-
- )}
-
- >
+ ))}
+
+ )}
+
+ {schema.not() && (
+
+ )}
+
+ {schema.propertyNames() && (
+
+ )}
+
+ {schema.contains() && (
+
+ )}
+
+ {schema.if() && (
+
+ {schema.if() && (
+
+ )}
+ {schema.then() && (
+
+ )}
+ {schema.else() && (
+
+ )}
+
+ )}
+
+ {dependentSchemas && (
+
+ )}
+
);
};
diff --git a/library/src/components/Payload/Payload.tsx b/library/src/components/Payload/Payload.tsx
index 5598f97b4..e8a6dd28d 100644
--- a/library/src/components/Payload/Payload.tsx
+++ b/library/src/components/Payload/Payload.tsx
@@ -6,10 +6,10 @@ import {
CollapseButton,
Markdown,
Extensions,
- HiChevronRight,
+ // HiChevronRight,
} from '../index';
import { SchemaHelpers } from '../../helpers';
-import { useElementSize } from '../../hooks/useElementSize';
+// import { useElementSize } from '../../hooks/useElementSize';
import { SchemaItems } from './SchemaItems';
import { AdditionalItems } from './AdditionalItems';
import { SchemaProperties } from './SchemaProperties';
@@ -57,13 +57,14 @@ export const Payload: React.FunctionComponent