Skip to content

Commit 1830db3

Browse files
committed
Fix lint
1 parent 3eebd5c commit 1830db3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/Root.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { PropTypes } from 'react';
1+
import { PropTypes } from 'react';
22
import createDispatcher from './createDispatcher';
33

44
export default class ReduxRoot {
@@ -15,13 +15,7 @@ export default class ReduxRoot {
1515
}
1616

1717
getChildContext() {
18-
const { observeStores, wrapActionCreator } = this.dispatcher
19-
return {
20-
redux: {
21-
observeStores,
22-
wrapActionCreator
23-
}
24-
};
18+
return { redux: this.dispatcher };
2519
}
2620

2721
render() {

0 commit comments

Comments
 (0)