diff --git a/examples/flux-chat/js/components/MessageListItem.react.js b/examples/flux-chat/js/components/MessageListItem.react.js index d48ecf4eae01ae..984ab372c3b353 100644 --- a/examples/flux-chat/js/components/MessageListItem.react.js +++ b/examples/flux-chat/js/components/MessageListItem.react.js @@ -18,7 +18,7 @@ var ReactPropTypes = React.PropTypes; var MessageListItem = React.createClass({ - props: { + propTypes: { message: ReactPropTypes.object }, diff --git a/examples/flux-chat/js/components/ThreadListItem.react.js b/examples/flux-chat/js/components/ThreadListItem.react.js index 8abecc01732c29..d46739c36102ea 100644 --- a/examples/flux-chat/js/components/ThreadListItem.react.js +++ b/examples/flux-chat/js/components/ThreadListItem.react.js @@ -20,7 +20,7 @@ var ReactPropTypes = React.PropTypes; var ThreadListItem = React.createClass({ - props: { + propTypes: { thread: ReactPropTypes.object, currentThreadID: ReactPropTypes.string },