fix: broken schema talbes with long enums

This commit is contained in:
Roman Hotsiy 2019-05-13 09:50:51 +03:00
parent c210ae4d5d
commit 3a74b745b1
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -22,7 +22,9 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
{values.length === 1 ? l('enumSingleValue') : l('enum')}: {values.length === 1 ? l('enumSingleValue') : l('enum')}:
</FieldLabel> </FieldLabel>
{values.map((value, idx) => ( {values.map((value, idx) => (
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue> <>
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>{' '}
</>
))} ))}
</div> </div>
); );