finish most of redux retrofit

This commit is contained in:
41666 2017-12-10 04:26:28 -06:00
parent 52cb96baa3
commit 5899268b22
7 changed files with 64 additions and 17 deletions

View file

@ -9,6 +9,10 @@ const initialState = Map({
export default (state = initialState, { type, data }) => {
switch (type) {
case Symbol.for('set user'):
return Map(data)
default:
return state
}