aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/addon.js
blob: 8d38025dae57a1aecb9c04f0119e8740f753d28d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import actions from 'content/actions';

const enable = () => {
  return { type: actions.ADDON_ENABLE };
};

const disable = () => {
  return { type: actions.ADDON_DISABLE };
};

const toggleEnabled = () => {
  return { type: actions.ADDON_TOGGLE_ENABLED };
};

export { enable, disable, toggleEnabled };