File Editor
Directories:
.. (Back)
__tests__
reducers
Files:
actions.js
sagas.js
selectors.js
types.js
Create New File
Create
Edit File: actions.js
/* eslint-disable camelcase */ /** * Internal Dependencies */ import * as types from './types'; export const showModal = ( ticketId, clientId ) => ( { type: types.SHOW_MODAL, payload: { ticketId, clientId }, } ); export const hideModal = () => ( { type: types.HIDE_MODAL, } ); export const setModalData = ( payload ) => ( { type: types.SET_MODAL_DATA, payload, } );
Save Changes
Rename File
Rename