14 lines
294 B
JavaScript
14 lines
294 B
JavaScript
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`)
|
|
};
|