chore: fix site

This commit is contained in:
MadCcc 2022-11-30 15:42:21 +08:00
parent a364e58061
commit d3202e2fb6

View File

@ -52,9 +52,9 @@ export default function BannerRecommends({ extras = [], icons = [] }: BannerReco
textAlign: 'start',
}}
>
{first3.map((extra) => {
{first3.map((extra, index) => {
if (!extra) {
return <Skeleton key={extra.title} />;
return <Skeleton key={index} />;
}
const icon = icons.find((i) => i.name === extra.source);
return (