From 06dc16ca79c8da0f035d5e144041599822ba4feb Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Wed, 16 Jan 2019 05:18:26 +0700 Subject: [PATCH] Fix typo statment -> statement for redux tutorial (#27048) --- .../redux/use-const-for-action-types/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/certifications/front-end-libraries/redux/use-const-for-action-types/index.md b/guide/english/certifications/front-end-libraries/redux/use-const-for-action-types/index.md index a8b79bd23ef..78faa62e0d4 100644 --- a/guide/english/certifications/front-end-libraries/redux/use-const-for-action-types/index.md +++ b/guide/english/certifications/front-end-libraries/redux/use-const-for-action-types/index.md @@ -39,7 +39,7 @@ const authReducer = (state = defaultState, action) => { }; ``` -By using a const for the Action Type, it won't matter if your string is mispelled because both the reducer's switch statment and the Action Type are referencing the same `const`. Using a `const` may also lead your code editor to suggesting the `const` as you are typing it, thus reducing the chance of mispelling the `const`. +By using a const for the Action Type, it won't matter if your string is mispelled because both the reducer's switch statement and the Action Type are referencing the same `const`. Using a `const` may also lead your code editor to suggesting the `const` as you are typing it, thus reducing the chance of mispelling the `const`. The code shown below will work.