diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-12 19:20:55 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-12 19:20:55 +0200 |
commit | d6a64f45fd4530cfee4f7721f0c6e7ca28fe677f (patch) | |
tree | 64b6813d49d458c5833f40c9668c4677f56eaf42 /app/assets/javascripts/components/actions/follow.jsx | |
parent | 05b0c985b4d4b313e75ae506fb43b5690afade8d (diff) |
Adding a notification stack for error messages
Diffstat (limited to 'app/assets/javascripts/components/actions/follow.jsx')
-rw-r--r-- | app/assets/javascripts/components/actions/follow.jsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/components/actions/follow.jsx b/app/assets/javascripts/components/actions/follow.jsx index a09aded83..703ac0297 100644 --- a/app/assets/javascripts/components/actions/follow.jsx +++ b/app/assets/javascripts/components/actions/follow.jsx @@ -11,7 +11,7 @@ export function changeFollow(text) { type: FOLLOW_CHANGE, text: text }; -} +}; export function submitFollow() { return function (dispatch, getState) { @@ -25,24 +25,24 @@ export function submitFollow() { dispatch(submitFollowFail(error)); }); }; -} +}; export function submitFollowRequest() { return { type: FOLLOW_SUBMIT_REQUEST }; -} +}; export function submitFollowSuccess(account) { return { type: FOLLOW_SUBMIT_SUCCESS, account: account }; -} +}; export function submitFollowFail(error) { return { type: FOLLOW_SUBMIT_FAIL, error: error }; -} +}; |