mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
19 lines
367 B
JavaScript
19 lines
367 B
JavaScript
'use strict';
|
|
|
|
import { altUser } from '../alt';
|
|
|
|
|
|
class UserActions {
|
|
constructor() {
|
|
this.generateActions(
|
|
'fetchCurrentUser',
|
|
'successFetchCurrentUser',
|
|
'logoutCurrentUser',
|
|
'successLogoutCurrentUser',
|
|
'errorCurrentUser'
|
|
);
|
|
}
|
|
}
|
|
|
|
export default altUser.createActions(UserActions);
|