This commit is contained in:
andrzej 2024-10-30 13:41:15 +01:00
parent d68eee9bec
commit 7c457c3fe8
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ interface ProviderIconsProps extends React.ComponentPropsWithRef<"div"> {
function ProviderIcons({ providerList, link }: ProviderIconsProps) {
if (!providerList) { return "" }
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}>
<img src={tmdb.makeLogoPath(e.logo_path)} key={e.provider_id + "_" + i} /></a>
</div>