Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 13 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | import { generateLastUpdate } from './../../../util/lastUpdate'; |
||
2 | |||
3 | export const pageLocal = (state, { pageIndex, stateKey }) => |
||
4 | state.mergeIn([stateKey], { |
||
5 | pageIndex: pageIndex, |
||
6 | lastUpdate: generateLastUpdate() |
||
7 | }); |
||
8 | |||
9 | export const pageRemote = (state, { pageIndex, stateKey }) => |
||
10 | state.mergeIn([stateKey], { |
||
11 | pageIndex: pageIndex, |
||
12 | lastUpdate: generateLastUpdate() |
||
13 | }); |
||
14 |