Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 5309 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 5309 Rev 5320
Línea 5... Línea 5...
5
const initialState = {
5
const initialState = {
6
  messages: [],
6
  messages: [],
7
  currentPage: 1,
7
  currentPage: 1,
8
  lastPage: 1,
8
  lastPage: 1,
9
  loading: false,
9
  loading: false,
10
  conversation: {}
10
  activeConversations: [
-
 
11
    {
-
 
12
      id: '',
-
 
13
      image: '',
-
 
14
      name: '',
-
 
15
      online: false,
-
 
16
      type: '',
-
 
17
      profile: ''
-
 
18
    }
-
 
19
  ]
11
}
20
}
Línea 12... Línea 21...
12
 
21
 
13
const conversationReducer = (
22
const conversationReducer = (
14
  state = initialState,
23
  state = initialState,