From 86a22cca3cef4527847bebd8aecbd50ca3e9aa0c Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Sat, 27 Feb 2021 18:58:17 +0700 Subject: [PATCH] #34 cleaned IComment --- src/redux/node/constants.ts | 3 --- src/redux/types.ts | 3 --- 2 files changed, 6 deletions(-) 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;