Skip to content

Commit

Permalink
Merge pull request remix-run#566 from WRidder/patch-1
Browse files Browse the repository at this point in the history
Fix typo in RouteHandler.md
  • Loading branch information
ryanflorence committed Dec 15, 2014
2 parents ed655c4 + a652595 commit 2be7e54
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 2be7e54

Please sign in to comment.