Skip to content

Commit

Permalink
fixes lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomatau committed Jun 14, 2018
1 parent 4e88aa0 commit dc1ffa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server/components/StaticRouter.js
Expand Up @@ -7,14 +7,14 @@ class StaticRouter extends React.Component {
history: PropTypes.object,
};

static defaultProps = {
history: createMemoryHistory(),
};

static childContextTypes = {
router: PropTypes.object.isRequired,
};

static defaultProps = {
history: createMemoryHistory(),
};

getChildContext() {
const { history } = this.props
return {
Expand Down

0 comments on commit dc1ffa9

Please sign in to comment.