Created
August 29, 2018 08:50
-
-
Save gladchinda/d0dd7bc63d440dd34b9095a8321a252e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const writeComment = (comment) => ({ | |
comment, | |
type: 'WRITE_COMMENT' | |
}); | |
export const updateComment = (id, comment) => ({ | |
id, | |
comment, | |
type: 'UPDATE_COMMENT' | |
}); | |
export const deleteComment = (id) => ({ | |
id, | |
type: 'DELETE_COMMENT' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment