Use easyjson
This commit is contained in:
parent
e7cff1686e
commit
09d57b7023
25 changed files with 6167 additions and 122 deletions
|
@ -10,7 +10,7 @@ export const getSearch = state => state.search;
|
|||
|
||||
export default createReducer(initialState, {
|
||||
[actions.socket.SEARCH](state, { results }) {
|
||||
state.results = results;
|
||||
state.results = results || [];
|
||||
},
|
||||
|
||||
[actions.TOGGLE_SEARCH](state) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue