mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added months passed to comments
This commit is contained in:
parent
e9a1a624fd
commit
3dfd886570
7 changed files with 111 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue