mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix unique key on mirror subscribe buttons
This commit is contained in:
parent
ea43859a52
commit
3f5c9f81e8
1 changed files with 1 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ const MirrorButtons = (props: Props) =>
|
|||
<>
|
||||
{props.viewUrlMirrors && props.viewUrlMirrors.length
|
||||
? props.viewUrlMirrors.map((viewUrlMirror: string, i: number) =>
|
||||
<MirrorButton index={i} viewUrlMirror={viewUrlMirror} name={props.name} />
|
||||
<MirrorButton key={i} index={i} viewUrlMirror={viewUrlMirror} name={props.name} />
|
||||
)
|
||||
: null}
|
||||
</>;
|
||||
|
|
@ -45,7 +45,6 @@ const MirrorButton = (props: MirrorButtonProps) => {
|
|||
const buttonProps = buildButtonProps(props.name, props.viewUrlMirror);
|
||||
return (
|
||||
<Button
|
||||
key={props.index}
|
||||
disabled={buttonProps[1]}
|
||||
block
|
||||
icon="import"
|
||||
|
|
|
|||
Loading…
Reference in a new issue