diff --git a/src/components/Fields/FieldDetails.tsx b/src/components/Fields/FieldDetails.tsx index bbd522bc..1aad8c61 100644 --- a/src/components/Fields/FieldDetails.tsx +++ b/src/components/Fields/FieldDetails.tsx @@ -26,7 +26,6 @@ import { l } from '../../services/Labels'; import { OptionsContext } from '../OptionsProvider'; import { FieldModel } from '../../services/models/Field'; import styled from '../../styled-components'; -import { ArraySchema } from '../Schema'; const MAX_PATTERN_LENGTH = 45; @@ -64,19 +63,11 @@ export class FieldDetails extends React.PureComponent
- {schema.type === 'array' ? - - : - (<> - {schema.typePrefix} - {schema.displayType} - - ) - } + {schema.typePrefix} + {schema.displayType} {schema.displayFormat && ( {' '}