8 lines
157 B
JavaScript
Raw Normal View History

2020-04-14 22:09:59 -05:00
export const SET_THEME = 'SET_THEME';
export function setTheme(theme) {
return (dispatch, getState) => {
dispatch({ type: SET_THEME, theme });
};
}