We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 998e71b commit 2011f6aCopy full SHA for 2011f6a
1 file changed
src/app/home/Home.tsx
@@ -7,14 +7,20 @@ import { features } from '@/components/common/Features';
7
8
export const HomePage: FC = () => {
9
const list = features.map(({ items }) => [...items]).flat();
10
- console.log(list);
11
12
return (
13
<AppLayout>
14
<Flex style={{ margin: 8 }} wrap="wrap" gap="small">
15
- {list.map((feature) => (
16
- <FeatureCard key={feature.key} {...feature} />
17
- ))}
+ {list.map((feature) => {
+ return (
+ <FeatureCard
+ key={feature.key}
18
+ title={feature.title}
19
+ path={feature.path}
20
+ description={feature.description}
21
+ />
22
+ );
23
+ })}
24
</Flex>
25
</AppLayout>
26
);
0 commit comments