Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jun 3, 2015
1 parent 3eebd5c commit 1830db3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Root.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { PropTypes } from 'react';
import { PropTypes } from 'react';
import createDispatcher from './createDispatcher';

export default class ReduxRoot {
Expand All @@ -15,13 +15,7 @@ export default class ReduxRoot {
}

getChildContext() {
const { observeStores, wrapActionCreator } = this.dispatcher
return {
redux: {
observeStores,
wrapActionCreator
}
};
return { redux: this.dispatcher };
}

render() {
Expand Down

0 comments on commit 1830db3

Please sign in to comment.