1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
onion/js/actions/user_actions.js
Brett Sun 325651b581 Remove altUser since the UserStore is now always being passed as a prop
Also don’t recycle altWhitelabel on logout as the whitelabel stores
aren’t dependent on the user.
2016-02-05 13:12:58 +01:00

19 lines
359 B
JavaScript

'use strict';
import { alt } from '../alt';
class UserActions {
constructor() {
this.generateActions(
'fetchCurrentUser',
'successFetchCurrentUser',
'logoutCurrentUser',
'successLogoutCurrentUser',
'errorCurrentUser'
);
}
}
export default alt.createActions(UserActions);