diff --git a/package.json b/package.json index 8c6053a..f20c2eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-router", - "version": "1.0.1", + "version": "1.0.2", "description": "", "main": "tp-router.js", "scripts": { diff --git a/tp-router.js b/tp-router.js index 3cb0df2..1f06db8 100644 --- a/tp-router.js +++ b/tp-router.js @@ -131,7 +131,7 @@ export class TpRouter extends LitElement { const routes = this._slottedChildren; routes.forEach(routeEl => { - if (routeEl.nodeName === 'tp-ROUTE') { + if (routeEl.nodeName === 'TP-ROUTE') { this.add(routeEl.path, routeEl.data, routeEl.namespace, routeEl.redirect); } });