Skip to content

Commit fd1d242

Browse files
author
Roman Boiko
committed
Fixed incomplete edit
1 parent b62b527 commit fd1d242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/auth-flow/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var Login = React.createClass({
7676

7777
var { location } = this.props;
7878

79-
if (location.query && location.state.nextPathname) {
79+
if (location.state && location.state.nextPathname) {
8080
this.replaceWith(location.state.nextPathname);
8181
} else {
8282
this.replaceWith('/about');

0 commit comments

Comments
 (0)