Skip to content

Commit fcd6366

Browse files
committed
Fix Router.handleAbort call misspell
1 parent 277ba50 commit fcd6366

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/Router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ var Router = React.createClass({
138138
'You may not abort the initial transition'
139139
);
140140

141-
this.handleAbort(reason);
141+
this.handleAbort(transition.abortReason);
142142
}
143143
} else if (state == null) {
144144
warning(false, 'Location "%s" did not match any routes', location.pathname);

0 commit comments

Comments
 (0)