Skip to content

Commit

Permalink
fix: broken schema talbes with long enums
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 13, 2019
1 parent c210ae4 commit 3a74b74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Fields/EnumValues.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
{values.length === 1 ? l('enumSingleValue') : l('enum')}:
</FieldLabel>
{values.map((value, idx) => (
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>
<>
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>{' '}
</>
))}
</div>
);
Expand Down

0 comments on commit 3a74b74

Please sign in to comment.