mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 23:30:05 +02:00
15 lines
372 B
JavaScript
15 lines
372 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('@state/thunks'),
|
|
updateRouter: createAction(`${APP}/APP/UPDATE_ROUTER`),
|
|
toggleHeaderTooltip: createAction(`${APP}/APP/TOGGLE_HEADER_TOOLTIP`)
|
|
};
|