Skip to content

Commit

Permalink
Revert to stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
drjonnicholson authored May 8, 2019
1 parent 63fcfa6 commit 8b216c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Fields/FieldDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
Expand Down

0 comments on commit 8b216c7

Please sign in to comment.