We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62b527 commit fd1d242Copy full SHA for fd1d242
examples/auth-flow/app.js
@@ -76,7 +76,7 @@ var Login = React.createClass({
76
77
var { location } = this.props;
78
79
- if (location.query && location.state.nextPathname) {
+ if (location.state && location.state.nextPathname) {
80
this.replaceWith(location.state.nextPathname);
81
} else {
82
this.replaceWith('/about');
0 commit comments