diff --git a/src/components/Fields/ArrayItemDetails.tsx b/src/components/Fields/ArrayItemDetails.tsx index 0c2716b1..6dfb646e 100644 --- a/src/components/Fields/ArrayItemDetails.tsx +++ b/src/components/Fields/ArrayItemDetails.tsx @@ -1,9 +1,9 @@ import * as React from 'react'; import { TypeFormat, TypePrefix } from '../../common-elements/fields'; -import { ConstraintsView } from './FieldContstraints'; -import { Pattern } from './Pattern'; import { SchemaModel } from '../../services'; import styled from '../../styled-components'; +import { ConstraintsView } from './FieldContstraints'; +import { Pattern } from './Pattern'; export function ArrayItemDetails({ schema }: { schema: SchemaModel }) { if (!schema || (schema.type === 'string' && !schema.constraints.length)) return null; @@ -11,7 +11,7 @@ export function ArrayItemDetails({ schema }: { schema: SchemaModel }) { return ( [ items - {schema.displayFormat && {` <${schema.displayFormat}> `}} + {schema.displayFormat && {` <${schema.displayFormat}> `}} {schema.items && } ]