mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Add post updates
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user