Import "connect" from react-redux instead of "createAll"

This commit is contained in:
Tomer Ohana 2015-10-03 19:53:47 +03:00
parent b0288c83d1
commit bd75e81719

View File

@ -1,9 +1,8 @@
import createAll from 'react-redux/lib/components/createAll'; import { connect } from 'react-redux';
import { ActionCreators } from './devTools'; import { ActionCreators } from './devTools';
export default function createDevTools(React) { export default function createDevTools(React) {
const { PropTypes, Component } = React; const { PropTypes, Component } = React;
const { connect } = createAll(React);
@connect( @connect(
state => state, state => state,