Skip to content

Commit aa4e682

Browse files
committed
[fixed] auth-flow example #2
1 parent 8e8ee9c commit aa4e682

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/auth-flow/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ var Dashboard = requireAuth(class extends React.Component {
6969

7070
class Login extends React.Component {
7171

72-
constructor () {
72+
constructor (props) {
73+
super(props);
7374
this.handleSubmit = this.handleSubmit.bind(this);
7475
this.state = {
7576
error: false

0 commit comments

Comments
 (0)