about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions/timelines.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-11-30 19:16:32 +0100
committerGitHub <noreply@github.com>2018-11-30 19:16:32 +0100
commit3948b6fa523dc5ebc8cde32b4b8d6a055788f8fb (patch)
tree7abd6dafcecef02c35e7db1b56b2a2c171392a2d /app/javascript/mastodon/actions/timelines.js
parentd0453e77dc44ec081b1642e8dd8ac9f265403962 (diff)
Remove npm-run-all dependency (#9401)
Fix #9359
Diffstat (limited to 'app/javascript/mastodon/actions/timelines.js')
-rw-r--r--app/javascript/mastodon/actions/timelines.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js
index 81c4c8425..215adc4ea 100644
--- a/app/javascript/mastodon/actions/timelines.js
+++ b/app/javascript/mastodon/actions/timelines.js
@@ -15,7 +15,7 @@ export const TIMELINE_SCROLL_TOP = 'TIMELINE_SCROLL_TOP';
 export const TIMELINE_DISCONNECT = 'TIMELINE_DISCONNECT';
 
 export function updateTimeline(timeline, status, accept) {
-  return (dispatch, getState) => {
+  return dispatch => {
     if (typeof accept === 'function' && !accept(status)) {
       return;
     }