mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
Revert to Stringify
This commit is contained in:
parent
129fc1f0f8
commit
63fcfa66f6
|
@ -20,7 +20,7 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
|
|||
</FieldLabel>{' '}
|
||||
{values.map((value, idx) => (
|
||||
<ExampleValue key={idx}>
|
||||
{typeof value === 'string' ? value : JSON.stringify(value)}
|
||||
{JSON.stringify(value)}
|
||||
</ExampleValue>
|
||||
))}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user