make sure license keys are unique
This commit is contained in:
parent
ad2d07cfe6
commit
fce7a3e086
|
|
@ -23,7 +23,10 @@ export function LicenceView(entries: Readonly<any[]>) {
|
|||
{entries?.length > 0 ? (
|
||||
<Accordion variant="contained" defaultValue="-">
|
||||
{entries?.map((entry: any, index: number) => (
|
||||
<Accordion.Item key={entry.name} value={`entry-${index}`}>
|
||||
<Accordion.Item
|
||||
key={`${entry.name}-${entry.version}`}
|
||||
value={`entry-${index}`}
|
||||
>
|
||||
<Accordion.Control>
|
||||
<Group justify="space-between" grow>
|
||||
<Text>{entry.name}</Text>
|
||||
|
|
|
|||
Loading…
Reference in New Issue