Skip to content

Commit 2224a56

Browse files
committed
Cleanup
1 parent c3e6001 commit 2224a56

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

frontend/app/mobile/src/modules/note/api/state/list.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import { LIST_DONE, LIST_REQUEST, LIST_RESET, LIST_RESPONSE } from '../actions/t
44
// List
55

66
// Initial State
7-
const locationsInitialState = {
7+
const notesInitialState = {
88
isLoading: false,
99
list: []
1010
}
1111

1212
// State
13-
export default (state = locationsInitialState, action) => {
13+
export default (state = notesInitialState, action) => {
1414
switch (action.type) {
1515
case LIST_REQUEST:
1616
return {
@@ -31,7 +31,7 @@ export default (state = locationsInitialState, action) => {
3131
}
3232

3333
case LIST_RESET:
34-
return { ...locationsInitialState }
34+
return { ...notesInitialState }
3535

3636
default:
3737
return state

frontend/app/mobile/src/modules/user/api/state/list.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// App Imports
22
import { LIST_DONE, LIST_FILTER, LIST_REQUEST, LIST_RESET, LIST_RESPONSE } from '../actions/types'
33

4-
// User list (players)
4+
// User list
55

66
// Initial State
7-
const playersInitialState = {
7+
const usersInitialState = {
88
isLoading: false,
99
list: []
1010
}
1111

1212
// State
13-
export default (state = playersInitialState, action) => {
13+
export default (state = usersInitialState, action) => {
1414
switch (action.type) {
1515
case LIST_REQUEST:
1616
return {
@@ -31,7 +31,7 @@ export default (state = playersInitialState, action) => {
3131
}
3232

3333
case LIST_RESET:
34-
return { ...playersInitialState }
34+
return { ...usersInitialState }
3535

3636
case LIST_FILTER:
3737
return {

frontend/app/web/src/modules/note/api/state/list.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import { LIST_DONE, LIST_REQUEST, LIST_RESET, LIST_RESPONSE } from '../actions/t
44
// List
55

66
// Initial State
7-
const locationsInitialState = {
7+
const notesInitialState = {
88
isLoading: false,
99
list: []
1010
}
1111

1212
// State
13-
export default (state = locationsInitialState, action) => {
13+
export default (state = notesInitialState, action) => {
1414
switch (action.type) {
1515
case LIST_REQUEST:
1616
return {
@@ -31,7 +31,7 @@ export default (state = locationsInitialState, action) => {
3131
}
3232

3333
case LIST_RESET:
34-
return { ...locationsInitialState }
34+
return { ...notesInitialState }
3535

3636
default:
3737
return state

frontend/app/web/src/modules/user/api/state/list.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
// App Imports
22
import { LIST_DONE, LIST_FILTER, LIST_REQUEST, LIST_RESET, LIST_RESPONSE } from '../actions/types'
33

4-
// User list (players)
4+
// User list (users)
55

66
// Initial State
7-
const playersInitialState = {
7+
const usersInitialState = {
88
isLoading: false,
99
list: []
1010
}
1111

1212
// State
13-
export default (state = playersInitialState, action) => {
13+
export default (state = usersInitialState, action) => {
1414
switch (action.type) {
1515
case LIST_REQUEST:
1616
return {
@@ -31,7 +31,7 @@ export default (state = playersInitialState, action) => {
3131
}
3232

3333
case LIST_RESET:
34-
return { ...playersInitialState }
34+
return { ...usersInitialState }
3535

3636
case LIST_FILTER:
3737
return {

0 commit comments

Comments
 (0)