Skip to content

Commit

Permalink
Fix typo in RouteHandler.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WRidder committed Dec 5, 2014
1 parent 5d0cd2a commit a652595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/components/RouteHandler.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var Settings = React.createClass({
},

willTransitionFrom: function (transition, component) {
if (component.formHasUnsavedData())) {
if (component.formHasUnsavedData()) {
if (!confirm('You have unsaved information, are you sure you want to leave this page?')) {
transition.abort();
}
Expand Down

0 comments on commit a652595

Please sign in to comment.