Fix typo
This commit is contained in:
parent
3e1bd3fe01
commit
923c5fcd04
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-router",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "",
|
||||
"main": "tp-router.js",
|
||||
"scripts": {
|
||||
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user