update front end certification guide handle action in the store solution code to return the state parameter not the defaultState object (#28485)
This commit is contained in:
committed by
Randell Dawson
parent
3eab20af32
commit
21d2698a44
@ -20,7 +20,7 @@ const reducer = (state = defaultState, action) => {
|
||||
login: true
|
||||
}
|
||||
} else {
|
||||
return defaultState
|
||||
return state
|
||||
};
|
||||
// change code above this line
|
||||
};
|
||||
|
Reference in New Issue
Block a user