mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-12-01 14:03:52 +03:00
Import "connect" from react-redux instead of "createAll"
This commit is contained in:
parent
b0288c83d1
commit
bd75e81719
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user