This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2022-10-03 09:15:47 -07:00
|
|
|
import { setAlerts } from './setter';
|
|
|
|
import { saveSettings } from './registerer';
|
2017-12-30 09:45:01 -08:00
|
|
|
|
2018-01-09 07:48:14 -08:00
|
|
|
export function changeAlerts(path, value) {
|
2017-12-30 09:45:01 -08:00
|
|
|
return dispatch => {
|
2018-01-09 07:48:14 -08:00
|
|
|
dispatch(setAlerts(path, value));
|
2017-12-30 09:45:01 -08:00
|
|
|
dispatch(saveSettings());
|
|
|
|
};
|
|
|
|
}
|
2022-10-03 09:15:47 -07:00
|
|
|
|
|
|
|
export {
|
|
|
|
CLEAR_SUBSCRIPTION,
|
|
|
|
SET_BROWSER_SUPPORT,
|
|
|
|
SET_SUBSCRIPTION,
|
|
|
|
SET_ALERTS,
|
|
|
|
} from './setter';
|
|
|
|
export { register } from './registerer';
|