about summary refs log tree commit diff
path: root/app/assets/javascripts/components/actions/interactions.jsx
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-18 17:09:45 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-18 17:09:45 +0200
commitf88b8ce757f62486d5843e1ea0191db1e5c61194 (patch)
tree79109cf3cd77240152c041641bb77915fcfc553d /app/assets/javascripts/components/actions/interactions.jsx
parentaea151a0ded4f7cc3a16901727931aff78a8b050 (diff)
Improve how errors are displayed in the UI
Diffstat (limited to 'app/assets/javascripts/components/actions/interactions.jsx')
-rw-r--r--app/assets/javascripts/components/actions/interactions.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/assets/javascripts/components/actions/interactions.jsx b/app/assets/javascripts/components/actions/interactions.jsx
index 8a409dd5d..ce7797eaa 100644
--- a/app/assets/javascripts/components/actions/interactions.jsx
+++ b/app/assets/javascripts/components/actions/interactions.jsx
@@ -25,7 +25,6 @@ export function reblog(status) {
       // interested in how the original is modified, hence passing it skipping the wrapper
       dispatch(reblogSuccess(status, response.data.reblog));
     }).catch(function (error) {
-      console.error(error);
       dispatch(reblogFail(status, error));
     });
   };
@@ -38,7 +37,6 @@ export function unreblog(status) {
     api(getState).post(`/api/v1/statuses/${status.get('id')}/unreblog`).then(response => {
       dispatch(unreblogSuccess(status, response.data));
     }).catch(error => {
-      console.error(error);
       dispatch(unreblogFail(status, error));
     });
   };
@@ -97,7 +95,6 @@ export function favourite(status) {
     api(getState).post(`/api/v1/statuses/${status.get('id')}/favourite`).then(function (response) {
       dispatch(favouriteSuccess(status, response.data));
     }).catch(function (error) {
-      console.error(error);
       dispatch(favouriteFail(status, error));
     });
   };
@@ -110,7 +107,6 @@ export function unfavourite(status) {
     api(getState).post(`/api/v1/statuses/${status.get('id')}/unfavourite`).then(response => {
       dispatch(unfavouriteSuccess(status, response.data));
     }).catch(error => {
-      console.error(error);
       dispatch(unfavouriteFail(status, error));
     });
   };