mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-20 20:27:07 +00:00
7d7db8977b
Port d27216dc46
to glitch-soc
18 lines
375 B
JavaScript
18 lines
375 B
JavaScript
import { saveSettings } from './registerer';
|
|
import { setAlerts } from './setter';
|
|
|
|
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';
|