Skip to content

Commit

Permalink
Improve store+auth interaction to reduce api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Aug 14, 2024
1 parent 0ac19f6 commit 8d50537
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/actions/UserActions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as types from './actionTypes';

var UserActions = {};

UserActions.updateAuth = data => {
return {
type: types.UPDATE_AUTH,
payLoad: data
};
};

export default UserActions;

0 comments on commit 8d50537

Please sign in to comment.