From f7d66424299de2ffd56c2368b76dbb4a54b187ea Mon Sep 17 00:00:00 2001 From: George Lima Date: Tue, 18 Dec 2018 18:42:19 -0300 Subject: [PATCH] lint: fix transactions redux line break --- app/redux/modules/transactions.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/redux/modules/transactions.js b/app/redux/modules/transactions.js index 2529ebb..3e69613 100644 --- a/app/redux/modules/transactions.js +++ b/app/redux/modules/transactions.js @@ -48,7 +48,11 @@ const initialState = { export default (state: State = initialState, action: Action) => { switch (action.type) { case LOAD_TRANSACTIONS: - return { ...state, error: null, isLoading: true }; + return { + ...state, + error: null, + isLoading: true, + }; case LOAD_TRANSACTIONS_SUCCESS: return { ...state, @@ -57,7 +61,11 @@ export default (state: State = initialState, action: Action) => { error: null, }; case LOAD_TRANSACTIONS_ERROR: - return { ...state, isLoading: false, error: action.payload.error }; + return { + ...state, + isLoading: false, + error: action.payload.error, + }; default: return state; }