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) => {
switch (action.type) {
case 'LOGIN':
case 'LOGIN': // Change this line
return {
authenticated: true
}
case 'LOGOUT':
case 'LOGOUT': // Change this line
return {
authenticated: false
}