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

added months passed to comments

This commit is contained in:
Fedor Katurov 2022-07-15 16:45:59 +07:00
parent e9a1a624fd
commit 3dfd886570
7 changed files with 111 additions and 9 deletions

View file

@ -1,5 +1,3 @@
import { DetailedHTMLProps, InputHTMLAttributes, ReactElement } from 'react';
import { ERRORS } from '~/constants/errors';
import { IUser } from '~/types/auth';
@ -126,6 +124,7 @@ export type IMessage = Omit<IComment, 'user' | 'node'> & {
export interface ICommentGroup {
user: IUser;
comments: IComment[];
distancesInDays: number[];
ids: IComment['id'][];
hasNew: boolean;
}