1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

cancel comment edit

This commit is contained in:
Fedor Katurov 2019-12-03 16:24:52 +07:00
parent 89076da435
commit b9ac33d881
5 changed files with 31 additions and 1 deletions

View file

@ -50,6 +50,11 @@ export const nodePostComment = (id: number, is_before: boolean) => ({
type: NODE_ACTIONS.POST_COMMENT,
});
export const nodeCancelCommentEdit = (id: number) => ({
id,
type: NODE_ACTIONS.CANCEL_COMMENT_EDIT,
});
export const nodeSetSendingComment = (is_sending_comment: boolean) => ({
is_sending_comment,
type: NODE_ACTIONS.SET_SENDING_COMMENT,