refactor: remove console.log

This commit is contained in:
Francesco Esposito 2019-07-31 20:27:15 +02:00
parent 6b92560620
commit 95ec32b9c8
1 changed files with 0 additions and 4 deletions

View File

@ -2,12 +2,8 @@ import { userConstants } from '../_constants/user.constants';
let userLocalStorage = JSON.parse(localStorage.getItem('user'));
const initialState = userLocalStorage ? {loggedIn: true} : {loggedIn: false};
console.log(initialState);
export function user(state = initialState, action) {
switch (action.type) {
case userConstants.LOGIN_REQUEST: