Add post updates

This commit is contained in:
riggraz
2019-10-01 19:15:03 +02:00
parent be8f003d70
commit 034a5ab708
12 changed files with 113 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ const initialState: IComment = {
id: 0,
body: '',
parentId: null,
isPostUpdate: false,
userFullName: '<Unknown user>',
userEmail: 'example@example.com',
updatedAt: undefined,
@@ -24,6 +25,7 @@ const commentReducer = (
id: action.comment.id,
body: action.comment.body,
parentId: action.comment.parent_id,
isPostUpdate: action.comment.is_post_update,
userFullName: action.comment.user_full_name,
userEmail: action.comment.user_email,
updatedAt: action.comment.updated_at,