Skip to content

Commit 8f4dba3

Browse files
committed
Merge pull request #1804 from timuric/patch-2
Add missing super() call
2 parents ce9b594 + 9fbddac commit 8f4dba3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/auth-flow/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ var { Route, RouteHandler, Link } = Router;
44

55
class App extends React.Component {
66
constructor () {
7+
super();
78
this.state = {
89
loggedIn: auth.loggedIn()
910
};
@@ -69,6 +70,7 @@ var Dashboard = requireAuth(class extends React.Component {
6970
class Login extends React.Component {
7071

7172
constructor () {
73+
super();
7274
this.handleSubmit = this.handleSubmit.bind(this);
7375
this.state = {
7476
error: false

0 commit comments

Comments
 (0)