add key
This commit is contained in:
parent
d68eee9bec
commit
7c457c3fe8
|
@ -64,7 +64,7 @@ interface ProviderIconsProps extends React.ComponentPropsWithRef<"div"> {
|
||||||
function ProviderIcons({ providerList, link }: ProviderIconsProps) {
|
function ProviderIcons({ providerList, link }: ProviderIconsProps) {
|
||||||
if (!providerList) { return "" }
|
if (!providerList) { return "" }
|
||||||
const list = providerList.map((e: any, i: number) => {
|
const list = providerList.map((e: any, i: number) => {
|
||||||
return <div className="w-6 aspect-square">
|
return <div className="w-6 aspect-square" key={e.link}>
|
||||||
<a href={link}>
|
<a href={link}>
|
||||||
<img src={tmdb.makeLogoPath(e.logo_path)} key={e.provider_id + "_" + i} /></a>
|
<img src={tmdb.makeLogoPath(e.logo_path)} key={e.provider_id + "_" + i} /></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue