diff --git a/docs/12-context.md b/docs/12-context.md index 92145d1d..cab78f52 100644 --- a/docs/12-context.md +++ b/docs/12-context.md @@ -50,7 +50,7 @@ class MessageList extends React.Component { const children = this.props.messages.map((message) => ); - return
{this.props.children}
; + return
{children}
; } } ```