From e9d24b083a29a91b1705d1db5ddca0498cd9f427 Mon Sep 17 00:00:00 2001 From: Matthew Taylor Date: Mon, 19 Oct 2015 19:24:01 -0400 Subject: [PATCH] define `formateMessage` I was forgetting to define it, like is done in `activity.jsx`. I was also incorrectly interpreting the documentation --- src/components/activity/activity.jsx | 2 +- src/components/navigation/navigation.jsx | 1 + src/components/news/news.jsx | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/activity/activity.jsx b/src/components/activity/activity.jsx index 755ab6dae..43ec0aaa1 100644 --- a/src/components/activity/activity.jsx +++ b/src/components/activity/activity.jsx @@ -26,7 +26,7 @@ var Activity = React.createClass({ }; }, render: function () { - var formatMessage = this.props.intl; + var formatMessage = this.props.intl.formatMessage; return (