]> cat aescling's git repositories - mastodon.git/commitdiff
Removing dispatch of fetchContextFail
authorRakib Hasan <rmhasan@gmail.com>
Sun, 19 Feb 2017 08:13:57 +0000 (08:13 +0000)
committerRakib Hasan <rmhasan@gmail.com>
Sun, 19 Feb 2017 08:21:45 +0000 (08:21 +0000)
No need to flash error message when status is not found.
The column will display the message "status not found"

app/assets/javascripts/components/actions/statuses.jsx

index d83edd1454ffbd10451642af9dcc499b9426f04b..66b25f6f0133139286697108b3a158dde9e2ffa6 100644 (file)
@@ -105,7 +105,6 @@ export function fetchContext(id) {
     }).catch(error => {
       dispatch(deleteStatusSuccess(id));
       dispatch(deleteFromTimelines(id));
-      dispatch(fetchContextFail(id, error));
     });
   };
 };