mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 14:14:56 +03:00
Revert to stringify
This commit is contained in:
parent
63fcfa66f6
commit
8b216c7549
|
@ -15,7 +15,7 @@ export class FieldDetail extends React.PureComponent<FieldDetailProps> {
|
|||
<div>
|
||||
<FieldLabel> {this.props.label} </FieldLabel>{' '}
|
||||
<ExampleValue>
|
||||
{typeof this.props.value === 'string' ? this.props.value : JSON.stringify(this.props.value)}
|
||||
{JSON.stringify(this.props.value)}
|
||||
</ExampleValue>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user