Added Change this line comment (#40497)

This commit is contained in:
Niraj Nair
2021-01-21 10:33:24 +05:30
committed by GitHub
parent 3061a5a0eb
commit a8230fda57

View File

@ -128,13 +128,11 @@ const defaultState = {
const authReducer = (state = defaultState, action) => { const authReducer = (state = defaultState, action) => {
switch (action.type) { switch (action.type) {
case 'LOGIN': // Change this line
case 'LOGIN':
return { return {
authenticated: true authenticated: true
} }
case 'LOGOUT': // Change this line
case 'LOGOUT':
return { return {
authenticated: false authenticated: false
} }