From 58d30a65c7564eb3d1ee78f6dd5d40195fd5a2bc Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Mon, 20 Jul 2015 18:58:49 +0100 Subject: [PATCH] react/lib/cx has been deprecated (https://facebook.github.io/react/docs/class-name-manipulation.html). Using JedWatson/classnames. --- examples/flux-chat/js/components/ThreadListItem.react.js | 4 ++-- examples/flux-chat/package.json | 1 + examples/flux-todomvc/js/components/TodoItem.react.js | 4 ++-- examples/flux-todomvc/package.json | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/flux-chat/js/components/ThreadListItem.react.js b/examples/flux-chat/js/components/ThreadListItem.react.js index 31c37831d2668b..c052d2514b9d83 100644 --- a/examples/flux-chat/js/components/ThreadListItem.react.js +++ b/examples/flux-chat/js/components/ThreadListItem.react.js @@ -12,7 +12,7 @@ var ChatThreadActionCreators = require('../actions/ChatThreadActionCreators'); var React = require('react'); -var cx = require('react/lib/cx'); +var classNames = require('classnames'); var ReactPropTypes = React.PropTypes; @@ -28,7 +28,7 @@ var ThreadListItem = React.createClass({ var lastMessage = thread.lastMessage; return (