diff options
author | ThibG <thib@sitedethib.com> | 2020-04-28 09:53:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 09:53:42 +0200 |
commit | ad9c7aefe6618a70c69991b7daf100573a7e27b9 (patch) | |
tree | 0a69e21ec542d54245f064993751fd5cc7d3903f /app/javascript/mastodon/reducers/statuses.js | |
parent | 04eb59986461bc802d4432fe4131e09eadd070c0 (diff) |
Refactor/cleanup TIMELINE_DELETE-related code (#13175)
Diffstat (limited to 'app/javascript/mastodon/reducers/statuses.js')
-rw-r--r-- | app/javascript/mastodon/reducers/statuses.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/reducers/statuses.js b/app/javascript/mastodon/reducers/statuses.js index 2554c008d..53dec9585 100644 --- a/app/javascript/mastodon/reducers/statuses.js +++ b/app/javascript/mastodon/reducers/statuses.js @@ -25,7 +25,7 @@ const importStatuses = (state, statuses) => const deleteStatus = (state, id, references) => { references.forEach(ref => { - state = deleteStatus(state, ref[0], []); + state = deleteStatus(state, ref, []); }); return state.delete(id); |