diff --git a/adev/src/content/guide/routing/common-router-tasks.md b/adev/src/content/guide/routing/common-router-tasks.md index 59a259cf443..9d4ce0574b4 100644 --- a/adev/src/content/guide/routing/common-router-tasks.md +++ b/adev/src/content/guide/routing/common-router-tasks.md @@ -35,7 +35,7 @@ Update the component to have an `input()` property matching the name of the para ```ts id = input.required() -hero = computed(() => this.service.getHero(id)); +hero = computed(() => this.service.getHero(id())); ```