Skip to content

Commit

Permalink
Merge pull request #2563 from taion/fix-super
Browse files Browse the repository at this point in the history
Fix using this before super
  • Loading branch information
taion committed Nov 17, 2015
2 parents 22635f1 + 3496b3b commit 00a1dd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/__tests__/Router-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,8 @@ describe('Router', function () {
const Child = () => <span>child</span>

class LabelWrapper extends Component {
constructor() {
constructor(props, context) {
super(props, context)
this.createElement = this.createElement.bind(this)
}

Expand Down

0 comments on commit 00a1dd7

Please sign in to comment.