mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +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',
|
textAlign: 'start',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{first3.map((extra) => {
|
{first3.map((extra, index) => {
|
||||||
if (!extra) {
|
if (!extra) {
|
||||||
return <Skeleton key={extra.title} />;
|
return <Skeleton key={index} />;
|
||||||
}
|
}
|
||||||
const icon = icons.find((i) => i.name === extra.source);
|
const icon = icons.find((i) => i.name === extra.source);
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user