From a652595dbf360c457819e184564ad3f815b538b4 Mon Sep 17 00:00:00 2001 From: Wilbert van de Ridder Date: Fri, 5 Dec 2014 21:19:43 +0100 Subject: [PATCH] Fix typo in RouteHandler.md --- docs/api/components/RouteHandler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/components/RouteHandler.md b/docs/api/components/RouteHandler.md index cdf78b5180..595bef3e7e 100644 --- a/docs/api/components/RouteHandler.md +++ b/docs/api/components/RouteHandler.md @@ -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(); }