@samitouri / QOS-React / commits / 6ee701d18a

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.

Billy Shih committed May 18, 2017 at 16:06 UTC 6ee701d18a3f6788ea1477b085c849184fee4cd2
1 file changed +1 -1
docs/docs/higher-order-components.md
+1 -1
@@ -261,7 +261,7 @@ The most common signature for HOCs looks like this:
261
262 ```js
263 // React Redux's `connect`
264 -const ConnectedComment = connect(commentSelector, commentActions)(Comment);
264 +const ConnectedComment = connect(commentSelector, commentActions)(CommentList);
265 ```
266
267 *What?!* If you break it apart, it's easier to see what's going on.