Skip to content

Commit 2011f6a

Browse files
committed
fix: keyの修正
1 parent 998e71b commit 2011f6a

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

src/app/home/Home.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,20 @@ import { features } from '@/components/common/Features';
77

88
export const HomePage: FC = () => {
99
const list = features.map(({ items }) => [...items]).flat();
10-
console.log(list);
1110

1211
return (
1312
<AppLayout>
1413
<Flex style={{ margin: 8 }} wrap="wrap" gap="small">
15-
{list.map((feature) => (
16-
<FeatureCard key={feature.key} {...feature} />
17-
))}
14+
{list.map((feature) => {
15+
return (
16+
<FeatureCard
17+
key={feature.key}
18+
title={feature.title}
19+
path={feature.path}
20+
description={feature.description}
21+
/>
22+
);
23+
})}
1824
</Flex>
1925
</AppLayout>
2026
);

0 commit comments

Comments
 (0)