// actions/index.js
export const SETTINGS = 'SETTINGS';
export function updateSettings(data) {
return {
type: SETTINGS,
payload: {
data
}
}
}
view raw index.js hosted with ❤ by GitHub