Fix react warning
This commit is contained in:
parent
2ed156a3f4
commit
df0f35b0d4
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
import { Map as ImmutableMap, fromJS } from 'immutable';
|
||||
import { List as ImmutableList, fromJS } from 'immutable';
|
||||
|
||||
import {
|
||||
CIRCLE_FETCH_SUCCESS,
|
||||
|
@ -9,7 +9,7 @@ import {
|
|||
CIRCLE_DELETE_SUCCESS,
|
||||
} from '../actions/circles';
|
||||
|
||||
const initialState = ImmutableMap();
|
||||
const initialState = ImmutableList();
|
||||
|
||||
const normalizeList = (state, circle) => state.set(circle.id, fromJS(circle));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue