From a8230fda57bea7807fea721ed8c26adc148c6d86 Mon Sep 17 00:00:00 2001 From: Niraj Nair Date: Thu, 21 Jan 2021 10:33:24 +0530 Subject: [PATCH] Added Change this line comment (#40497) --- .../redux/use-const-for-action-types.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/english/03-front-end-libraries/redux/use-const-for-action-types.md b/curriculum/challenges/english/03-front-end-libraries/redux/use-const-for-action-types.md index d7530a9c0f..5df85e5c20 100644 --- a/curriculum/challenges/english/03-front-end-libraries/redux/use-const-for-action-types.md +++ b/curriculum/challenges/english/03-front-end-libraries/redux/use-const-for-action-types.md @@ -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 }