mirror of
https://github.com/morpheus65535/bazarr.git
synced 2024-09-20 07:25:58 +08:00
fix: duplicate key index on table
This commit is contained in:
parent
6e7e20175f
commit
dba9867ac0
|
@ -79,10 +79,10 @@ const Table: FunctionComponent = () => {
|
|||
}) => {
|
||||
return (
|
||||
<Group gap="xs" wrap="nowrap">
|
||||
{items.map((v) => {
|
||||
{items.map((v, i) => {
|
||||
const isCutoff = v.id === cutoff || cutoff === anyCutoff;
|
||||
return (
|
||||
<ItemBadge key={v.id} cutoff={isCutoff} item={v}></ItemBadge>
|
||||
<ItemBadge key={i} cutoff={isCutoff} item={v}></ItemBadge>
|
||||
);
|
||||
})}
|
||||
</Group>
|
||||
|
|
Loading…
Reference in a new issue