diff --git a/src/redux/node/constants.ts b/src/redux/node/constants.ts index 3f0e29b1..81ef9a79 100644 --- a/src/redux/node/constants.ts +++ b/src/redux/node/constants.ts @@ -106,10 +106,7 @@ export const EMPTY_COMMENT: IComment = { id: null, text: '', files: [], - temp_ids: [], - is_private: false, user: null, - error: '', }; export const NODE_EDITORS = { diff --git a/src/redux/types.ts b/src/redux/types.ts index dd5b95b4..d38db98c 100644 --- a/src/redux/types.ts +++ b/src/redux/types.ts @@ -142,11 +142,8 @@ export interface INode { export interface IComment { id: number; text: string; - temp_ids?: string[]; files: IFile[]; - is_private: boolean; user: IUser; - error?: string; created_at?: string; update_at?: string;