about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorRakib Hasan <rmhasan@gmail.com>2017-02-19 08:13:57 +0000
committerRakib Hasan <rmhasan@gmail.com>2017-02-19 08:21:45 +0000
commit910df0f7954d5991a64ff419fa60d8327807808f (patch)
tree28714fe0874c8536b000fc5e1023557e74d40417 /app
parent8e760d5f622672b9b9a073109bd34758a3e3086b (diff)
Removing dispatch of fetchContextFail
No need to flash error message when status is not found.
The column will display the message "status not found"
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/components/actions/statuses.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/actions/statuses.jsx b/app/assets/javascripts/components/actions/statuses.jsx
index d83edd145..66b25f6f0 100644
--- a/app/assets/javascripts/components/actions/statuses.jsx
+++ b/app/assets/javascripts/components/actions/statuses.jsx
@@ -105,7 +105,6 @@ export function fetchContext(id) {
     }).catch(error => {
       dispatch(deleteStatusSuccess(id));
       dispatch(deleteFromTimelines(id));
-      dispatch(fetchContextFail(id, error));
     });
   };
 };