From 21d2698a449584f1a0b201ba7fd559ea993525b6 Mon Sep 17 00:00:00 2001 From: Omereshone Kelvin Oghenerhoro Date: Fri, 8 Mar 2019 19:35:02 +0100 Subject: [PATCH] update front end certification guide handle action in the store solution code to return the state parameter not the defaultState object (#28485) --- .../redux/handle-an-action-in-the-store/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/certifications/front-end-libraries/redux/handle-an-action-in-the-store/index.md b/guide/english/certifications/front-end-libraries/redux/handle-an-action-in-the-store/index.md index c34dfa2b5d..4890cd2eab 100644 --- a/guide/english/certifications/front-end-libraries/redux/handle-an-action-in-the-store/index.md +++ b/guide/english/certifications/front-end-libraries/redux/handle-an-action-in-the-store/index.md @@ -20,7 +20,7 @@ const reducer = (state = defaultState, action) => { login: true } } else { - return defaultState + return state }; // change code above this line };