mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 20:43:42 +01:00
17 lines
375 B
JavaScript
17 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';
|