joyent-portal/frontend/src/state/actions.js

14 lines
294 B
JavaScript
Raw Normal View History

2016-10-20 04:14:26 +03:00
const constantCase = require('constant-case');
const ReduxActions = require('redux-actions');
const {
createAction
} = ReduxActions;
const APP = constantCase(process.env['APP_NAME']);
module.exports = {
...require('./thunks'),
updateRouter: createAction(`${APP}/APP/UPDATE_ROUTER`)
};