mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-05 04:40:19 +03:00
remove unnecessary classNames
This commit is contained in:
parent
5d25b09399
commit
ecd2b3beef
|
@ -27,7 +27,7 @@ export class Extensions extends React.PureComponent<ExtensionsProps> {
|
|||
<>
|
||||
{options.showExtensions &&
|
||||
Object.keys(exts).map(key => (
|
||||
<Extension key={key} className="extension">
|
||||
<Extension key={key}>
|
||||
<FieldLabel> {key.substring(2)}: </FieldLabel>{' '}
|
||||
<ExtensionValue>
|
||||
{typeof exts[key] === 'string' ? exts[key] : JSON.stringify(exts[key])}
|
||||
|
|
|
@ -87,7 +87,7 @@ export class Schema extends React.Component<Partial<SchemaProps>> {
|
|||
} as any as FieldModel; // cast needed for hot-loader to not fail
|
||||
|
||||
return (
|
||||
<div className="field-details">
|
||||
<div>
|
||||
<FieldDetails field={field} />
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user