Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ce9f67b

Browse files
th-kogkalpak
authored andcommitted
docs(guide/component-router): remove unused code
Closes #14613
1 parent 05d2703 commit ce9f67b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/content/guide/component-router.ngdoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,6 @@ Router itself, which was made available by the binding in the **Component Defini
854854
function HeroDetailComponent(heroService) {
855855
...
856856
this.gotoHeroes = function() {
857-
var heroId = this.hero && this.hero.id;
858857
this.$router.navigate(['HeroList']);
859858
};
860859
```

0 commit comments

Comments
 (0)