mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
chore: fix react keys warning
This commit is contained in:
parent
845511ce9a
commit
3f6765078e
|
@ -22,9 +22,9 @@ export class EnumValues extends React.PureComponent<EnumValuesProps> {
|
|||
{values.length === 1 ? l('enumSingleValue') : l('enum')}:
|
||||
</FieldLabel>
|
||||
{values.map((value, idx) => (
|
||||
<>
|
||||
<ExampleValue key={idx}>{JSON.stringify(value)}</ExampleValue>{' '}
|
||||
</>
|
||||
<React.Fragment key={idx}>
|
||||
<ExampleValue>{JSON.stringify(value)}</ExampleValue>{' '}
|
||||
</React.Fragment>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user