From 6ee701d18a3f6788ea1477b085c849184fee4cd2 Mon Sep 17 00:00:00 2001 From: Billy Shih Date: Thu, 18 May 2017 16:06:29 -0700 Subject: [PATCH] Fix typo (#9717) The example explaining how redux's connect works doesn't use the same component name. Line 264 references (Comment) while 274 referenced (CommentList). Changed 264 to match 274. --- docs/docs/higher-order-components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/higher-order-components.md b/docs/docs/higher-order-components.md index ca2bffad7b..7a907e83ac 100644 --- a/docs/docs/higher-order-components.md +++ b/docs/docs/higher-order-components.md @@ -261,7 +261,7 @@ The most common signature for HOCs looks like this: ```js // React Redux's `connect` -const ConnectedComment = connect(commentSelector, commentActions)(Comment); +const ConnectedComment = connect(commentSelector, commentActions)(CommentList); ``` *What?!* If you break it apart, it's easier to see what's going on.