Revert to Stringify

This commit is contained in:
Jon Nicholson 2019-05-08 19:52:31 +01:00 committed by GitHub
parent 129fc1f0f8
commit 63fcfa66f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
</FieldLabel>{' '} </FieldLabel>{' '}
{values.map((value, idx) => ( {values.map((value, idx) => (
<ExampleValue key={idx}> <ExampleValue key={idx}>
{typeof value === 'string' ? value : JSON.stringify(value)} {JSON.stringify(value)}
</ExampleValue> </ExampleValue>
))} ))}
</div> </div>