Browse Source

Update 12-context.md (#6973)

Modify a clerical error
main
inkinworld 9 years ago
committed by Jim
parent
commit
a4dd77330b
  1. 2
      docs/12-context.md

2
docs/12-context.md

@ -50,7 +50,7 @@ class MessageList extends React.Component {
const children = this.props.messages.map((message) =>
<Message text={message.text} color={color} />
);
return <div>{this.props.children}</div>;
return <div>{children}</div>;
}
}
```

Loading…
Cancel
Save