Skip to content

Commit f8893df

Browse files
authored
state.js -> change order for consistency with docs
1 parent 212fbfe commit f8893df

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/service-module/state.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ export default function makeDefaultState (servicePath, options) {
1818
copiesById: {},
1919
currentId: null,
2020
copy: null,
21-
setCurrentOnGet: true,
22-
setCurrentOnCreate: true,
2321
idField,
2422
servicePath,
2523
autoRemove,
@@ -32,6 +30,9 @@ export default function makeDefaultState (servicePath, options) {
3230
pagination: {},
3331
paramsForServer,
3432
whitelist,
33+
34+
setCurrentOnGet: true,
35+
setCurrentOnCreate: true,
3536

3637
isFindPending: false,
3738
isGetPending: false,

0 commit comments

Comments
 (0)