mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-05 12:50:18 +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 &&
|
{options.showExtensions &&
|
||||||
Object.keys(exts).map(key => (
|
Object.keys(exts).map(key => (
|
||||||
<Extension key={key} className="extension">
|
<Extension key={key}>
|
||||||
<FieldLabel> {key.substring(2)}: </FieldLabel>{' '}
|
<FieldLabel> {key.substring(2)}: </FieldLabel>{' '}
|
||||||
<ExtensionValue>
|
<ExtensionValue>
|
||||||
{typeof exts[key] === 'string' ? exts[key] : JSON.stringify(exts[key])}
|
{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
|
} as any as FieldModel; // cast needed for hot-loader to not fail
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="field-details">
|
<div>
|
||||||
<FieldDetails field={field} />
|
<FieldDetails field={field} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user