Fix error handling when re-fetching already-known statuses (#37077)
This commit is contained in:
1 parent
f562ad9f67
commit
edfbcfb3f5
2 files changed
+8
-3
No files matched your search
@@ -85,6 +85,8 @@ export function fetchStatus(id, {
|
||||
dispatch(fetchStatusSuccess(skipLoading));
|
||||
}).catch(error => {
|
||||
dispatch(fetchStatusFail(id, error, skipLoading, parentQuotePostId));
|
||||
if (error.status === 404)
|
||||
dispatch(deleteFromTimelines(id));
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user