mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-25 09:34:16 -05:00
cc93cd5d6c
Port 216dbaedaf
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
18 lines
375 B
JavaScript
18 lines
375 B
JavaScript
import { setAlerts } from './setter';
|
|
import { saveSettings } from './registerer';
|
|
|
|
export function changeAlerts(path, value) {
|
|
return dispatch => {
|
|
dispatch(setAlerts(path, value));
|
|
dispatch(saveSettings());
|
|
};
|
|
}
|
|
|
|
export {
|
|
CLEAR_SUBSCRIPTION,
|
|
SET_BROWSER_SUPPORT,
|
|
SET_SUBSCRIPTION,
|
|
SET_ALERTS,
|
|
} from './setter';
|
|
export { register } from './registerer';
|