Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Unify parameter names of savedAccounts actions
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Nov 10, 2017
1 parent 7099e47 commit 7649b1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/actions/savedAccounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import {
* An action to dispatch accountSaved
*
*/
export const accountSaved = (data) => {
setSavedAccount(data);
setLastActiveAccount(data);
export const accountSaved = (account) => {
setSavedAccount(account);
setLastActiveAccount(account);
return {
data,
data: account,
type: actionTypes.accountSaved,
};
};
Expand Down

0 comments on commit 7649b1e

Please sign in to comment.