mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 09:50:31 +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);
|