Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 8 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | import { fromJS } from 'immutable'; |
||
2 | import { generateLastUpdate } from './../../../util/lastUpdate'; |
||
3 | |||
4 | export const removeToolbar = (state, { stateKey, value }) => |
||
5 | state.setIn([stateKey], fromJS({ |
||
6 | isRemoved: value, |
||
7 | lastUpdate: generateLastUpdate() |
||
8 | })); |
||
9 |