Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 12 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import { |
||
2 | SHOW_MENU, |
||
3 | HIDE_MENU |
||
4 | } from '../../../constants/ActionTypes'; |
||
5 | |||
6 | export const showMenu = ({ id, stateKey }) => ({ |
||
7 | type: SHOW_MENU, id, stateKey |
||
8 | }); |
||
9 | |||
10 | export const hideMenu = ({ id, stateKey }) => ({ |
||
11 | type: HIDE_MENU, id, stateKey |
||
12 | }); |
||
13 |