Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { AUTH_INFO_LOAD} from '../../constants/types';
- const initialState = {};
- const authReducers = (state=initialState,action) => {
- switch(action.type)
- {
- case AUTH_INFO_LOAD : return {...action.payload};
- default : return state;
- }
- };
- export default authReducers;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement