1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

notifications: for nodes

This commit is contained in:
Fedor Katurov 2023-03-16 16:37:43 +06:00
parent 14bf5be65f
commit d9544e917b
13 changed files with 156 additions and 27 deletions

View file

@ -1,10 +1,9 @@
import React, { FC, MouseEventHandler } from 'react';
import { FC, MouseEventHandler } from 'react';
import classNames from 'classnames';
import { Anchor } from '~/components/common/Anchor';
import { Icon } from '~/components/input/Icon';
import { NodeRelatedItem } from '~/components/node/NodeRelatedItem';
import { NodeThumbnail } from '~/components/node/NodeThumbnail';
import { URLS } from '~/constants/urls';
import { INode } from '~/types';
import { getPrettyDate } from '~/utils/dom';
@ -31,7 +30,7 @@ const FlowRecentItem: FC<IProps> = ({ node, has_new, onClick }) => {
[styles.lab]: !node.is_promoted,
})}
>
<NodeRelatedItem item={node} />
<NodeThumbnail item={node} />
</div>
<div className={styles.info}>