From 718650dc873a7bbb2801cbad1be8a5ac0bf67e10 Mon Sep 17 00:00:00 2001 From: cavemansspa Date: Sat, 31 Jul 2021 02:04:52 -0400 Subject: [PATCH] Cavemansspa patch 1 (#2696) --- docs/route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/route.md b/docs/route.md index 2bb23701..454133c6 100644 --- a/docs/route.md +++ b/docs/route.md @@ -58,7 +58,7 @@ You can only have one `m.route` call per application. Argument | Type | Required | Description ---------------------- | ---------------------------------------- | -------- | --- `root` | `Element` | Yes | A DOM element that will be the parent node to the subtree -`defaultRoute` | `String` | Yes | The route to redirect to if the current URL does not match a route +`defaultRoute` | `String` | Yes | The route to redirect to if the current URL does not match a route. Note, this is not the initial route. Initial route will be your address bar's url. `routes` | Object<String,Component|RouteResolver> | Yes | An object whose keys are route strings and values are either components or a [RouteResolver](#routeresolver) **returns** | | | Returns `undefined`