import { SET_USER_INFO } from '../actionType';


export default function userInfoReducer(state = null, action: any) {
    switch (action.type) {
        case SET_USER_INFO:
            return action.data;
        default:
            return state;
    }
};