From f788f98fff6083277dfc30258b5191f2a59bcf2c Mon Sep 17 00:00:00 2001 From: meriadec Date: Wed, 20 Jun 2018 09:50:19 +0200 Subject: [PATCH] Make accounts save in db on ADD_ACCOUNT --- src/actions/accounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/accounts.js b/src/actions/accounts.js index bea494fc..d5b58660 100644 --- a/src/actions/accounts.js +++ b/src/actions/accounts.js @@ -6,7 +6,7 @@ import db from 'helpers/db' export type AddAccount = Account => * export const addAccount: AddAccount = payload => ({ - type: 'ADD_ACCOUNT', + type: 'DB:ADD_ACCOUNT', payload, })