7 lines
157 B
JavaScript
7 lines
157 B
JavaScript
export const SET_THEME = 'SET_THEME';
|
|
|
|
export function setTheme(theme) {
|
|
return (dispatch, getState) => {
|
|
dispatch({ type: SET_THEME, theme });
|
|
};
|
|
}
|