pleroma/app/gabsocial/actions/theme.js

8 lines
157 B
JavaScript
Raw Normal View History

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