import { TYPE_APP_THEME } from '../types'; const dispatchAction = (actionType, data) => { return ({ type: actionType, value: data }) } export const saveAppTheme = (data) => { return function(dispatch) { return dispatch(dispatchAction(TYPE_APP_THEME, data)) } }