1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

refactor flow components

This commit is contained in:
Fedor Katurov 2023-11-21 19:10:57 +06:00
parent 7f411713f4
commit d0e99adc9f
32 changed files with 31 additions and 107 deletions

View file

@ -1,8 +1,8 @@
import { FC } from 'react';
import { Group } from '~/components/common/Group';
import { NodeHorizontalCard } from '~/components/common/NodeHorizontalCard';
import { SubTitle } from '~/components/common/SubTitle';
import { FlowRecentItem } from '~/components/flow/FlowRecentItem';
import { LabFactoryBanner } from '~/components/lab/LabFactoryBanner';
import { LabHeroes } from '~/components/lab/LabHeroes';
import { LabTags } from '~/components/lab/LabTags';
@ -40,7 +40,7 @@ const LabStats: FC<IProps> = () => {
<div className={styles.title}>Новые</div>
<Group className={styles.updates}>
{updates.slice(0, 10).map((node) => (
<FlowRecentItem node={node} key={node.id} has_new />
<NodeHorizontalCard node={node} key={node.id} hasNew />
))}
</Group>
</>