mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
chore: fix site
This commit is contained in:
parent
a364e58061
commit
d3202e2fb6
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user