mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 01:26:48 +03:00
Put the original Monitor on statics
This commit is contained in:
parent
49bb120444
commit
a4306d6ba4
|
@ -6,6 +6,8 @@ export default function connectMonitor(Monitor) {
|
|||
const ConnectedMonitor = connect(state => state, ActionCreators)(Monitor);
|
||||
|
||||
class DevTools extends Component {
|
||||
static Monitor = Monitor;
|
||||
|
||||
static propTypes = {
|
||||
store(props, propName, componentName) {
|
||||
if (!props.store) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user