From 31244a5f8e06c5a515f07372b162613e47afcc64 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Wed, 17 Jan 2018 19:53:12 -0800 Subject: [PATCH] refactor --- routes/_utils/virtualListStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/_utils/virtualListStore.js b/routes/_utils/virtualListStore.js index 5538eedd..4f4dd237 100644 --- a/routes/_utils/virtualListStore.js +++ b/routes/_utils/virtualListStore.js @@ -2,8 +2,8 @@ import { Store } from 'svelte/store.js' import { mark, stop } from '../_utils/marks' class VirtualListStore extends Store { - constructor(obj) { - super(obj) + constructor(state) { + super(state) this._batches = {} }