From 16b4bcdbfb391c60021d576223d4dad315717f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Fri, 18 May 2018 11:28:45 +0200 Subject: [PATCH] Fix countervalues importing --- src/renderer/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/init.js b/src/renderer/init.js index 4584713b..c510f5e9 100644 --- a/src/renderer/init.js +++ b/src/renderer/init.js @@ -41,7 +41,7 @@ if (Object.keys(settings).length !== 0) { const countervaluesData = db.get('countervalues') if (countervaluesData) { - store.dispatch(CounterValues.importAction(store.getState())) + store.dispatch(CounterValues.importAction(countervaluesData)) } const state = store.getState()