From 77929f881482dff80da40bdad654a1cacef2e474 Mon Sep 17 00:00:00 2001 From: dozoisch Date: Sat, 2 Aug 2014 21:52:26 -0400 Subject: [PATCH] fixed typo on propTypes --- examples/flux-chat/js/components/MessageListItem.react.js | 2 +- examples/flux-chat/js/components/ThreadListItem.react.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 },