From 3759b05915b3d770f3484122a1402ac05366e0b4 Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Mon, 22 Jun 2020 13:08:49 -0700 Subject: [PATCH] Remove unused argument --- src/node/StreamWindow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/StreamWindow.js b/src/node/StreamWindow.js index b7bf919..12cbfb5 100644 --- a/src/node/StreamWindow.js +++ b/src/node/StreamWindow.js @@ -216,7 +216,7 @@ export default class StreamWindow extends EventEmitter { } } - findViewByIdx(viewIdx, predicate) { + findViewByIdx(viewIdx) { return this.views.find( (v) => v.state.context.pos && v.state.context.pos.spaces.includes(viewIdx),